From: Bram Moolenaar Date: Tue, 5 Dec 2017 20:32:33 +0000 (+0100) Subject: patch 8.0.1376: cursor in terminal not always updated X-Git-Tag: v8.0.1376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23c1b2b018c8121ca5fcc247e37966428bf8ca66;p=vim patch 8.0.1376: cursor in terminal not always updated Problem: Cursor in terminal not always updated. Solution: Call gui_mch_flush(). (Ken Takata) --- diff --git a/src/terminal.c b/src/terminal.c index 5a2ebf865..744b7dedf 100644 --- 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 } } diff --git a/src/version.c b/src/version.c index c41aed0d6..4361c384f 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1376, /**/ 1375, /**/