summaryrefslogtreecommitdiff
path: root/src/popupmnu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-14 23:08:32 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-14 23:08:32 +0200
commit0b565e5da5c05890c2008b18bb5262638bf804f2 (patch)
treefeec4637050963b047be08543c5bfe54abe003f3 /src/popupmnu.c
parent1af6a4b891abd30f6bd09b15fb609e5db450392e (diff)
downloadvim-git-0b565e5da5c05890c2008b18bb5262638bf804f2.tar.gz
patch 8.0.1842: popup menu inside terminal window isn't clearedv8.0.1842
Problem: Popup menu inside terminal window isn't cleared. Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian Brabandt, closes #2908)
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r--src/popupmnu.c2
1 files changed, 1 insertions, 1 deletions
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();
}