From 30b29a36e80bfeed50bb6ea618401fe35100490f Mon Sep 17 00:00:00 2001 From: bfredl Date: Thu, 9 Feb 2023 20:56:30 +0100 Subject: refactor(ui): remove some superfluous ui_flush() calls - mapping has no business saving and restoring the low-level UI cursor. The cursor will be put in a reasonable position after input is processed, chill out. - TUI handles output needed for suspend - vgetc() family of function does flushing --- src/nvim/popupmenu.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/popupmenu.c') diff --git a/src/nvim/popupmenu.c b/src/nvim/popupmenu.c index 245ce87865..45c1afd70e 100644 --- a/src/nvim/popupmenu.c +++ b/src/nvim/popupmenu.c @@ -1092,7 +1092,6 @@ void pum_show_popupmenu(vimmenu_T *menu) pum_is_drawn = true; pum_redraw(); setcursor_mayforce(true); - ui_flush(); int c = vgetc(); -- cgit