Fix multiple c_CTRL-D showing statusline

This commit is contained in:
Jit Yao Yap authored and Björn Linse committed 2019-06-03 11:14:07 +02:00
1 parent f046f3a239
commit d19ff73b39
1 file changed
+4 -1
+4 -1
View File
@@ -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) {