mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 05:54:59 +02:00
IME input: Show the pre-edit text while the IME is in progress
Text is show in reverse video
This commit is contained in:
@@ -131,6 +131,7 @@ on_key_input(int key, int scancode, int action, int mods, const char* text, int
|
||||
switch(state) {
|
||||
case 1: // update pre-edit text
|
||||
update_ime_position(global_state.callback_os_window, w, screen);
|
||||
screen_draw_overlay_text(screen, text);
|
||||
return;
|
||||
case 2: // commit text
|
||||
if (text && *text) {
|
||||
|
||||
Reference in New Issue
Block a user