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)
diff --git a/src/gui.c b/src/gui.c
index 2ce3009..e6cc544 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1118,6 +1118,8 @@
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)
{
diff --git a/src/version.c b/src/version.c
index 871a0e9..1fd6502 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1294,
+/**/
1293,
/**/
1292,