mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Fix bracket-expr + single char binds
This commit is contained in:
parent
4bf6032a08
commit
1febc15c16
|
|
@ -451,7 +451,7 @@ export function mapstrToKeyseq(mapstr: string): MinimalKey[] {
|
|||
;[key, mapstr] = bracketexprToKey(mapstr)
|
||||
const explicitDirection = hasExplicitDirection(key)
|
||||
keyseq.push(explicitDirection ? key : minimalKeyFromObj(key))
|
||||
if (mapstr.length > 1 && !explicitDirection)
|
||||
if (mapstr.length > 0 && !explicitDirection)
|
||||
keyseq.push(
|
||||
minimalKeyFromObj(
|
||||
R.mergeRight(key, { keyup: true, optional: true }),
|
||||
|
|
|
|||
Loading…
Reference in a new issue