]> granicus.if.org Git - vim/commitdiff
patch 8.0.1177: in a terminal window the popup menu is not cleared v8.0.1177
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Oct 2017 15:35:09 +0000 (17:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Oct 2017 15:35:09 +0000 (17:35 +0200)
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)

src/terminal.c
src/version.c

index 2ad98bac8b95d5862a745da0ac8efd73e744ad64..f4e1ef1b4562cdb17bc5aca4e3258a753d70432a 100644 (file)
  * 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;
index 8d7a5e5bd320931d77df9a4fa4993d152a717c32..dcd77f7d8784c6464d3167a68ce57553e1173f32 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1177,
 /**/
     1176,
 /**/