diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-04 16:24:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-04 16:24:32 +0200 |
commit | 703a8044b5393d37d355b0b1054a9a5a13912a3f (patch) | |
tree | ae0769683f198fcaeb7c75e32bceca7d65319b4a /src/gui_photon.c | |
parent | 35d88f4e2ff5dcd9904f04612d5febede996137c (diff) | |
download | vim-git-703a8044b5393d37d355b0b1054a9a5a13912a3f.tar.gz |
patch 7.4.1890v7.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.
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r-- | src/gui_photon.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c index 956c8e206..a4d00f783 100644 --- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -2232,6 +2232,12 @@ gui_mch_draw_part_cursor(int w, int h, guicolor_T color) DRAW_END; } + int +gui_mch_is_blinking(void) +{ + return blink_state != BLINK_NONE; +} + void gui_mch_set_blinking(long wait, long on, long off) { |