changeset 12835:a46dfb3935cf v8.0.1294

patch 8.0.1294: GUI: get stuck when splitting a terminal window commit https://github.com/vim/vim/commit/2f27aab8e68c48a1b8a51715e1009d572f8e13b5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 12 18:32:00 2017 +0100 patch 8.0.1294: GUI: get stuck when splitting a terminal window Problem: GUI: get stuck when splitting a terminal window. Solution: Stop blinking when values become zero. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Nov 2017 18:45:04 +0100
parents 5b61a133b547
children 80707f5cdff1
files src/gui.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -1118,6 +1118,8 @@ gui_update_cursor(
 	gui_mch_set_blinking(shape->blinkwait,
 			     shape->blinkon,
 			     shape->blinkoff);
+	if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0)
+	    gui_mch_stop_blink();
 #ifdef FEAT_TERMINAL
 	if (shape_bg != INVALCOLOR)
 	{
--- 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 */
 /**/
+    1294,
+/**/
     1293,
 /**/
     1292,