Skip to content

Commit 23c1b2b

Browse files
committed
patch 8.0.1376: cursor in terminal not always updated
Problem: Cursor in terminal not always updated. Solution: Call gui_mch_flush(). (Ken Takata)
1 parent 415a693 commit 23c1b2b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/terminal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,10 @@ update_cursor(term_T *term, int redraw)
675675
out_flush();
676676
#ifdef FEAT_GUI
677677
if (gui.in_use)
678+
{
678679
gui_update_cursor(FALSE, FALSE);
680+
gui_mch_flush();
681+
}
679682
#endif
680683
}
681684
}

src/version.c

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

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1376,
774776
/**/
775777
1375,
776778
/**/

0 commit comments

Comments
 (0)