Add debug output when ignoring key press during IME
This commit is contained in:
parent
9caa6bb306
commit
16d3e82515
1 changed files with 1 additions and 0 deletions
|
|
@ -1181,6 +1181,7 @@ - (void)keyDown:(NSEvent *)event
|
|||
}
|
||||
if (([self hasMarkedText] || previous_has_marked_text) && !_glfw.ns.text[0]) {
|
||||
// do not pass keys like BACKSPACE while there's pre-edit text, let IME handle it
|
||||
debug_key("Ignoring key press as IME is active and it generated no text\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue