summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-07 17:35:09 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-07 17:35:09 +0200
commit54e5dbf58e16d0d757a315480c9e63ac7f8a74c7 (patch)
treeb9d12a4d06429e644f30b804125138fd92f07bd7
parentd78f03f86045184dfd191f00359baa61e2e79d1f (diff)
downloadvim-git-54e5dbf58e16d0d757a315480c9e63ac7f8a74c7.tar.gz
patch 8.0.1177: in a terminal window the popup menu is not clearedv8.0.1177
Problem: In a terminal window the popup menu is not cleared. (Gerry Agbobada) Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes #2194)
-rw-r--r--src/terminal.c7
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 2ad98bac8..f4e1ef1b4 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -40,9 +40,12 @@
* TODO:
* - in GUI vertical split causes problems. Cursor is flickering. (Hirohito
* Higashi, 2017 Sep 19)
+ * - Can we get the default fg/bg color of the terminal and use it for
+ * libvterm? Should also fix ssh-in-a-win.
+ * - double click in Window toolbar starts Visual mode (but not always?).
* - Shift-Tab does not work.
* - after resizing windows overlap. (Boris Staletic, #2164)
- * - double click in Window toolbar starts Visual mode.
+ * - :wall gives an error message. (Marius Gedminas, #2190)
* - Redirecting output does not work on MS-Windows, Test_terminal_redir_file()
* is disabled.
* - cursor blinks in terminal on widows with a timer. (xtal8, #2142)
@@ -2239,7 +2242,7 @@ term_update_window(win_T *wp)
screen = vterm_obtain_screen(vterm);
state = vterm_obtain_state(vterm);
- if (wp->w_redr_type >= NOT_VALID)
+ if (wp->w_redr_type >= SOME_VALID)
{
term->tl_dirty_row_start = 0;
term->tl_dirty_row_end = MAX_ROW;
diff --git a/src/version.c b/src/version.c
index 8d7a5e5bd..dcd77f7d8 100644
--- 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 */
/**/
+ 1177,
+/**/
1176,
/**/
1175,