summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 2e425cba4c..ea557b98dc 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -432,7 +432,10 @@ redraw_after_callback()
#ifdef FEAT_GUI
if (gui.in_use)
{
- gui_update_cursor(TRUE, FALSE);
+ /* Don't update the cursor while it is blinking, it will get
+ * updated soon and this avoids interrupting the blinking. */
+ if (!gui_mch_is_blinking())
+ gui_update_cursor(FALSE, FALSE);
gui_mch_flush();
}
#endif