Skip to content

Commit 2f27aab

Browse files
committed
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)
1 parent 60e73f2 commit 2f27aab

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/gui.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,8 @@ gui_update_cursor(
11181118
gui_mch_set_blinking(shape->blinkwait,
11191119
shape->blinkon,
11201120
shape->blinkoff);
1121+
if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0)
1122+
gui_mch_stop_blink();
11211123
#ifdef FEAT_TERMINAL
11221124
if (shape_bg != INVALCOLOR)
11231125
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1294,
764766
/**/
765767
1293,
766768
/**/

0 commit comments

Comments
 (0)