normalizeKey
normalizeKey(
spec):string
Defined in: src/core/hotkeys.ts:85
Normalize a key spec to its canonical form: ctrl+alt+shift+<base>, base
lowercased, aliases resolved. For single non-letter characters (?, /)
the shift modifier is dropped — the character already encodes it and
terminals report it inconsistently.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string