aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-06-03 12:10:28 +0200
committerGitHub <noreply@github.com>2019-06-03 12:10:28 +0200
commit3273e39db62987ae8bb0c617f70c15d3d7bbab68 (patch)
tree0e28dcac109f75d8f393408d796a21e0ae15b8af /src
parentf046f3a2396ea23e53e7307e8c143dc646f5273c (diff)
parent3d24bb48e71315546da0cb4518fe9229cac402f3 (diff)
downloadrneovim-3273e39db62987ae8bb0c617f70c15d3d7bbab68.tar.gz
rneovim-3273e39db62987ae8bb0c617f70c15d3d7bbab68.tar.bz2
rneovim-3273e39db62987ae8bb0c617f70c15d3d7bbab68.zip
Merge pull request #10107 from gelguy/c_ctrl_d
Fix multiple <C-D> showing statusline on previous completion list
Diffstat (limited to 'src')
-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) {