aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJit Yao Yap <jityao@gmail.com>2019-06-02 23:12:10 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-06-03 11:14:07 +0200
commitd19ff73b39a9299db4a6947709e01e598ee60b4a (patch)
treebb59d4baffbf51e9bb68fbefb4cd3b8d788b3d1b /src/nvim/ex_getln.c
parentf046f3a2396ea23e53e7307e8c143dc646f5273c (diff)
downloadrneovim-d19ff73b39a9299db4a6947709e01e598ee60b4a.tar.gz
rneovim-d19ff73b39a9299db4a6947709e01e598ee60b4a.tar.bz2
rneovim-d19ff73b39a9299db4a6947709e01e598ee60b4a.zip
Fix multiple c_CTRL-D showing statusline
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index ce46408872..3bfda1f9f0 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -656,10 +656,13 @@ static int command_line_execute(VimState *state, int key)
redrawcmd();
save_p_ls = -1;
wild_menu_showing = 0;
- } else {
+ // don't redraw statusline if WM_LIST is showing
+ } else if (wild_menu_showing != WM_LIST) {
win_redraw_last_status(topframe);
wild_menu_showing = 0; // must be before redraw_statuslines #8385
redraw_statuslines();
+ } else {
+ wild_menu_showing = 0;
}
KeyTyped = skt;
if (ccline.input_fn) {