summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-04 16:24:32 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-04 16:24:32 +0200
commit703a8044b5393d37d355b0b1054a9a5a13912a3f (patch)
treeae0769683f198fcaeb7c75e32bceca7d65319b4a /src/screen.c
parent35d88f4e2ff5dcd9904f04612d5febede996137c (diff)
patch 7.4.1890v7.4.1890
Problem: GUI: When channel data is received the cursor blinking is interrupted. (Ramel Eshed) Solution: Don't update the cursor when it is blinking.
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