]> granicus.if.org Git - vim/commitdiff
patch 8.0.1294: GUI: get stuck when splitting a terminal window v8.0.1294
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Nov 2017 17:32:00 +0000 (18:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Nov 2017 17:32:00 +0000 (18:32 +0100)
Problem:    GUI: get stuck when splitting a terminal window.
Solution:   Stop blinking when values become zero. (Hirohito Higashi)

src/gui.c
src/version.c

index 2ce30092781016905da3322075ae1f504d375357..e6cc544dce6147be0b7ffa8218a66fbbc322eba3 100644 (file)
--- 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)
        {
index 871a0e9bfd9809257e5535d332b3b35b9394bb40..1fd6502c9e7bf6a2400f5f7f7f8de4e490eebcda 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1294,
 /**/
     1293,
 /**/