1
0
forked from aniani/vim

patch 7.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.
This commit is contained in:
Bram Moolenaar
2016-06-04 16:24:32 +02:00
parent 35d88f4e2f
commit 703a8044b5
12 changed files with 40 additions and 1 deletions

View File

@@ -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