diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/keyboard_utils.coffee | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lib/keyboard_utils.coffee b/lib/keyboard_utils.coffee index dabf864d..f0e791d4 100644 --- a/lib/keyboard_utils.coffee +++ b/lib/keyboard_utils.coffee @@ -111,9 +111,10 @@ KeyboardUtils =            modifiers = []            keyChar = keyChar.toUpperCase() if event.shiftKey -          modifiers.push "m" if event.metaKey -          modifiers.push "c" if event.ctrlKey +          # These must be in alphabetical order (to match the sorted modifier order in Commands.normalizeKey).            modifiers.push "a" if event.altKey +          modifiers.push "c" if event.ctrlKey +          modifiers.push "m" if event.metaKey            keyChar = [modifiers..., keyChar].join "-"            if 1 < keyChar.length then "<#{keyChar}>" else keyChar | 
