mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix mode2maps never being used
This commit is contained in:
parent
1af0d12756
commit
c1e2264bc2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export function init(endCommand: string, mode = "normal", numCommands: number =
|
|||
|
||||
/** Receive keypress. If applicable, execute a command. */
|
||||
export function parser(keys: KeyboardEvent[]) {
|
||||
const conf = mode2maps[modeState.mode] || modeState.mode + "maps"
|
||||
const conf = mode2maps.get(modeState.mode) || modeState.mode + "maps"
|
||||
const maps: any = keyseq.keyMap(conf, keys)
|
||||
const key = keys[0].key
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue