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:
@@ -797,7 +797,7 @@ pum_set_selected(int n, int repeat)
|
||||
pum_undisplay(void)
|
||||
{
|
||||
pum_array = NULL;
|
||||
redraw_all_later(SOME_VALID);
|
||||
redraw_all_later(NOT_VALID);
|
||||
redraw_tabline = TRUE;
|
||||
status_redraw_all();
|
||||
}
|
||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1842,
|
||||
/**/
|
||||
1841,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user