diff options
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 3ed6b416d6..c9f3fbd511 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2364,9 +2364,8 @@ int get_keystroke(void) mapped_ctrl_c = FALSE; /* mappings are not used here */ for (;; ) { - ui_cursor_on(); + // flush output before waiting ui_flush(); - /* Leave some room for check_termcode() to insert a key code into (max * 5 chars plus NUL). And fix_input_buffer() can triple the number of * bytes. */ |