changeset 13000:6f98a5fd0c19 v8.0.1376

patch 8.0.1376: cursor in terminal not always updated commit https://github.com/vim/vim/commit/23c1b2b018c8121ca5fcc247e37966428bf8ca66 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 5 21:32:33 2017 +0100 patch 8.0.1376: cursor in terminal not always updated Problem: Cursor in terminal not always updated. Solution: Call gui_mch_flush(). (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Tue, 05 Dec 2017 21:45:04 +0100
parents 933cf0c7fb9c
children b5a93ba1f01a
files src/terminal.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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
     }
 }
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1376,
+/**/
     1375,
 /**/
     1374,