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)

5f1fea28f5

Applied manually.
This commit is contained in:
KillTheMule 2016-04-25 20:55:37 +02:00
parent 126e475807
commit 0786ebe305
2 changed files with 7 additions and 1 deletions

View File

@ -3306,6 +3306,12 @@ static bool ins_compl_prep(int c)
showmode();
}
// Avoid the popup menu remains displayed when leaving the
// command line window.
if (c == Ctrl_C && cmdwin_type != 0) {
update_screen(0);
}
/*
* Indent now if a key was typed that is in 'cinkeys'.
*/

View File

@ -796,7 +796,7 @@ static int included_patches[] = {
885,
// 884 NA
883,
// 882,
882,
881,
// 880 NA
879,