summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-10 23:16:09 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-10 23:16:09 +0200
commitda3a77d9ec28407b8fa2aa014e76944d0a525662 (patch)
tree5ccf7a4e599271b5d3d846d71e1318f4351e6d1f /src/screen.c
parent7c0a2f367f2507669560b1a66423155c70d2e75b (diff)
downloadvim-git-da3a77d9ec28407b8fa2aa014e76944d0a525662.tar.gz
patch 7.4.2025v7.4.2025
Problem: The cursor blinking stops or is irregular when receiving date over a channel and writing it in a buffer, and when updating the status line. (Ramel Eshed) Solution: Make it a bit better by flushing GUI output. Don't redraw the cursor after updating the screen if the blink state is off.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 7c4ee3064..04a0da9eb 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -757,7 +757,7 @@ update_screen(int type)
if (gui.in_use)
{
out_flush(); /* required before updating the cursor */
- if (did_one)
+ if (did_one && !gui_mch_is_blink_off())
{
/* Put the GUI position where the cursor was, gui_update_cursor()
* uses that. */