]> granicus.if.org Git - vim/commitdiff
patch 8.0.1842: popup menu inside terminal window isn't cleared v8.0.1842
authorBram Moolenaar <Bram@vim.org>
Mon, 14 May 2018 21:08:32 +0000 (23:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 14 May 2018 21:08:32 +0000 (23:08 +0200)
Problem:    Popup menu inside terminal window isn't cleared.
Solution:   Use NOT_VALID in pum_undisplay(). (suggested by Christian
            Brabandt, closes #2908)

src/popupmnu.c
src/version.c

index 0edfe500035287886b1737483bdd1abbcdff52dd..9bebceb894391cc38e2ddf431fc77fc05c90a9b5 100644 (file)
@@ -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();
 }
index 67a6acfe71ee2d8a082d733876416c813cd2b5ba..af967d156f071dd2dd494e87da813e1c2c0f99f4 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1842,
 /**/
     1841,
 /**/