diff src/screen.c @ 9489:c5f40fc2e3e0 v7.4.2025

commit https://github.com/vim/vim/commit/da3a77d9ec28407b8fa2aa014e76944d0a525662 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 10 23:16:09 2016 +0200 patch 7.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.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Jul 2016 23:30:05 +0200
parents aaa6639b6f14
children 123d3c102035
line wrap: on
line diff
--- 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. */