Skip to content

Commit

Permalink
patch 8.0.1842: popup menu inside terminal window isn't cleared
Browse files Browse the repository at this point in the history
Problem:    Popup menu inside terminal window isn't cleared.
Solution:   Use NOT_VALID in pum_undisplay(). (suggested by Christian
            Brabandt, closes #2908)
  • Loading branch information
brammool committed May 14, 2018
1 parent 1af6a4b commit 0b565e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/popupmnu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1842,
/**/
1841,
/**/
Expand Down

0 comments on commit 0b565e5

Please sign in to comment.