diff options
Diffstat (limited to 'lib/keyboardUtils.js')
| -rw-r--r-- | lib/keyboardUtils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyboardUtils.js b/lib/keyboardUtils.js index a47d273f..233ba6a9 100644 --- a/lib/keyboardUtils.js +++ b/lib/keyboardUtils.js @@ -1,4 +1,4 @@ -var keyCodes = { ESC: 27, backspace: 8, deleteKey: 46, enter: 13, space: 32 }; +var keyCodes = { ESC: 27, backspace: 8, deleteKey: 46, enter: 13, space: 32, shiftKey: 16 }; // This is a mapping of the incorrect keyIdentifiers generated by Webkit on Windows during keydown events to // the correct identifiers, which are correctly generated on Mac. We require this mapping to properly handle @@ -48,4 +48,4 @@ function isPrimaryModifierKey(event) { function isEscape(event) { return event.keyCode == keyCodes.ESC || (event.ctrlKey && getKeyChar(event) == '['); // c-[ is mapped to ESC in Vim by default. -}
\ No newline at end of file +} |
