| commit | 703a8044b5393d37d355b0b1054a9a5a13912a3f | [log] [tgz] |
|---|---|---|
| author | Bram Moolenaar <Bram@vim.org> | Sat Jun 04 16:24:32 2016 +0200 |
| committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 04 16:24:32 2016 +0200 |
| tree | ae0769683f198fcaeb7c75e32bceca7d65319b4a | |
| parent | 35d88f4e2ff5dcd9904f04612d5febede996137c [diff] [blame] |
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.
diff --git a/src/gui_w32.c b/src/gui_w32.c index 2c665cb..d506f00 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c
@@ -540,6 +540,12 @@ static long_u blink_offtime = 250; static UINT blink_timer = 0; + int +gui_mch_is_blinking(void) +{ + return blink_state != BLINK_NONE; +} + void gui_mch_set_blinking(long wait, long on, long off) {