mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Add debug output when ignoring key press during IME
This commit is contained in:
@@ -1181,6 +1181,7 @@ is_ascii_control_char(char x) {
|
|||||||
}
|
}
|
||||||
if (([self hasMarkedText] || previous_has_marked_text) && !_glfw.ns.text[0]) {
|
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
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user