normalizeTerminalKey
function exported by @mwillbanks/tuil-hotkeys.
function
Public function exported by @mwillbanks/tuil-hotkeys.
export function normalizeTerminalKey(
input: string,
key: TerminalKey = {},
platform: NodeJS.Platform = process.platform,
): string;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
input | string | Yes | Supplies the input value as string. | — |
key | TerminalKey | No | Supplies the key value as TerminalKey. | TerminalKey |
platform | NodeJS.Platform | No | Supplies the platform value as NodeJS.Platform. | — |
Returns
string — Returns a value that satisfies string.
Related types: —
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference