1
0
forked from aniani/vim

patch 8.0.1842: popup menu inside terminal window isn't cleared

Problem:    Popup menu inside terminal window isn't cleared.
Solution:   Use NOT_VALID in pum_undisplay(). (suggested by Christian
            Brabandt, closes #2908)
This commit is contained in:
Bram Moolenaar
2018-05-14 23:08:32 +02:00
parent 1af6a4b891
commit 0b565e5da5
2 changed files with 3 additions and 1 deletions

View File

@@ -797,7 +797,7 @@ pum_set_selected(int n, int repeat)
pum_undisplay(void) pum_undisplay(void)
{ {
pum_array = NULL; pum_array = NULL;
redraw_all_later(SOME_VALID); redraw_all_later(NOT_VALID);
redraw_tabline = TRUE; redraw_tabline = TRUE;
status_redraw_all(); status_redraw_all();
} }

View File

@@ -761,6 +761,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 */
/**/
1842,
/**/ /**/
1841, 1841,
/**/ /**/