Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 238fa4e

Browse files
author
Nathan Sobo
committed
Merge pull request #186 from atom/ns-fix-dead-keys-on-macos
Restore ability to bind dead keys such as alt-u on macOS
1 parent 38262be commit 238fa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keymap-manager.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ class KeymapManager
487487
# 229, which is the "composition key code". This API is deprecated, but this
488488
# is the most simple and reliable way we found to ignore keystrokes that are
489489
# part of IME compositions.
490-
if event.keyCode is 229
490+
if event.keyCode is 229 and event.key isnt 'Dead'
491491
return
492492

493493
keystroke = @keystrokeForKeyboardEvent(event)

0 commit comments

Comments
 (0)