We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba82593 commit fb78601Copy full SHA for fb78601
src/input/keymap.js
@@ -57,7 +57,7 @@ function normalizeKeyName(name) {
57
if (/^(cmd|meta|m)$/i.test(mod)) cmd = true
58
else if (/^a(lt)?$/i.test(mod)) alt = true
59
else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true
60
- else if (/^s(hift)$/i.test(mod)) shift = true
+ else if (/^s(hift)?$/i.test(mod)) shift = true
61
else throw new Error("Unrecognized modifier name: " + mod)
62
}
63
if (alt) name = "Alt-" + name
0 commit comments