diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-07 16:43:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-07 16:43:02 +0200 |
commit | 9d5d3c9c4468ad76f16b50eabd3d9e7eab2ed44d (patch) | |
tree | ecee7bf2e2c8a5eeaea1c00ab3461d34740b3ca6 /src/gui_w32.c | |
parent | 05e418d436410cd8bbf5a29ff81e8ad68408b1e8 (diff) |
patch 7.4.1995v7.4.1995
Problem: GUI: cursor drawn in wrong place if a timer callback causes a
screen update. (David Samvelyan)
Solution: Also redraw the cursor when it's blinking and on.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index cf29b610c3..19f4d65002 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -546,6 +546,12 @@ gui_mch_is_blinking(void) return blink_state != BLINK_NONE; } + int +gui_mch_is_blink_off(void) +{ + return blink_state == BLINK_OFF; +} + void gui_mch_set_blinking(long wait, long on, long off) { |