diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-04-22 12:26:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-22 12:26:16 +0200 |
commit | d05712fbe7b56789b6fc5c205ef7b928cd3fb722 (patch) | |
tree | 659516bf5c89a54c7e1aabf240f0d30c17641789 /src/nvim/terminal.c | |
parent | 51af911a271eb95c0032d25bef5e9313b81648b9 (diff) | |
download | rneovim-d05712fbe7b56789b6fc5c205ef7b928cd3fb722.tar.gz rneovim-d05712fbe7b56789b6fc5c205ef7b928cd3fb722.tar.bz2 rneovim-d05712fbe7b56789b6fc5c205ef7b928cd3fb722.zip |
inccommand: pause :terminal redraws (#8307)
fix #5584
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |