0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2015-09-25 19:12:22 +02:00
parent 0a777ab989
commit 5f1fea28f5
2 changed files with 8 additions and 0 deletions

View File

@@ -3903,6 +3903,12 @@ ins_compl_prep(c)
showmode(); 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 #ifdef FEAT_CINDENT
/* /*
* Indent now if a key was typed that is in 'cinkeys'. * Indent now if a key was typed that is in 'cinkeys'.

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
882,
/**/ /**/
881, 881,
/**/ /**/