From d05712fbe7b56789b6fc5c205ef7b928cd3fb722 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 22 Apr 2018 12:26:16 +0200 Subject: inccommand: pause :terminal redraws (#8307) fix #5584 --- src/nvim/terminal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 5a05847197..d006477c80 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -1106,6 +1106,7 @@ static void refresh_timer_cb(TimeWatcher *watcher, void *data) { refresh_pending = false; if (exiting // Cannot redraw (requires event loop) during teardown/exit. + || (State & CMDPREVIEW) // WM_LIST (^D) is not redrawn, unlike the normal wildmenu. So we must // skip redraws to keep it visible. || wild_menu_showing == WM_LIST) { -- cgit