mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -1118,6 +1118,8 @@ gui_update_cursor(
|
|||||||
gui_mch_set_blinking(shape->blinkwait,
|
gui_mch_set_blinking(shape->blinkwait,
|
||||||
shape->blinkon,
|
shape->blinkon,
|
||||||
shape->blinkoff);
|
shape->blinkoff);
|
||||||
|
if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0)
|
||||||
|
gui_mch_stop_blink();
|
||||||
#ifdef FEAT_TERMINAL
|
#ifdef FEAT_TERMINAL
|
||||||
if (shape_bg != INVALCOLOR)
|
if (shape_bg != INVALCOLOR)
|
||||||
{
|
{
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1294,
|
||||||
/**/
|
/**/
|
||||||
1293,
|
1293,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user