From 0b565e5da5c05890c2008b18bb5262638bf804f2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 14 May 2018 23:08:32 +0200 Subject: 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) --- src/popupmnu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/popupmnu.c') diff --git a/src/popupmnu.c b/src/popupmnu.c index 0edfe5000..9bebceb89 100644 --- 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(); } -- cgit v1.2.1