]> granicus.if.org Git - vim/commitdiff
patch 8.0.1376: cursor in terminal not always updated v8.0.1376
authorBram Moolenaar <Bram@vim.org>
Tue, 5 Dec 2017 20:32:33 +0000 (21:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 5 Dec 2017 20:32:33 +0000 (21:32 +0100)
Problem:    Cursor in terminal not always updated.
Solution:   Call gui_mch_flush(). (Ken Takata)

src/terminal.c
src/version.c

index 5a2ebf8655ece282810b504d4990eec8d63fc941..744b7dedfb0fd4b3cbd3322397409fd4528884d8 100644 (file)
@@ -675,7 +675,10 @@ update_cursor(term_T *term, int redraw)
        out_flush();
 #ifdef FEAT_GUI
        if (gui.in_use)
+       {
            gui_update_cursor(FALSE, FALSE);
+           gui_mch_flush();
+       }
 #endif
     }
 }
index c41aed0d6cede31a5093c075dfceda168f0d61cd..4361c384f90acfa142049325ca8e49ebd99125a0 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1376,
 /**/
     1375,
 /**/