From: Bram Moolenaar Date: Fri, 25 Sep 2015 17:12:22 +0000 (+0200) Subject: patch 7.4.882 X-Git-Tag: v7.4.882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f1fea28f5bc573e2430773c49e95ae1f9cc2a25;p=vim patch 7.4.882 Problem: When leaving the command line window with CTRL-C while a completion menu is displayed the menu isn't removed. Solution: Force a screen update. (Hirohito Higashi) --- diff --git a/src/edit.c b/src/edit.c index db4a079e4..bd5c57e1a 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3903,6 +3903,12 @@ ins_compl_prep(c) showmode(); } +#ifdef FEAT_CMDWIN + if (c == Ctrl_C && cmdwin_type != 0) + /* Avoid the popup menu remains displayed when leaving the + * command line window. */ + update_screen(0); +#endif #ifdef FEAT_CINDENT /* * Indent now if a key was typed that is in 'cinkeys'. diff --git a/src/version.c b/src/version.c index 079d99d68..586ce19c9 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 882, /**/ 881, /**/