changeset 13944:ddf02a93796f v8.0.1842

patch 8.0.1842: popup menu inside terminal window isn't cleared commit https://github.com/vim/vim/commit/0b565e5da5c05890c2008b18bb5262638bf804f2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 14 23:08:32 2018 +0200 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)
author Christian Brabandt <cb@256bit.org>
date Mon, 14 May 2018 23:15:05 +0200
parents 28d604f35317
children 30691ca7a38e
files src/popupmnu.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -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();
 }
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1842,
+/**/
     1841,
 /**/
     1840,