Mercurial > vim
comparison src/gui_photon.c @ 9213:bb86514cad15 v7.4.1890
commit https://github.com/vim/vim/commit/703a8044b5393d37d355b0b1054a9a5a13912a3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 4 16:24:32 2016 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Jun 2016 16:30:05 +0200 |
parents | 22c29a515b53 |
children | 0c7f47088e55 |
comparison
equal
deleted
inserted
replaced
9212:ac88df1cd99a | 9213:bb86514cad15 |
---|---|
2228 | 2228 |
2229 DRAW_START; | 2229 DRAW_START; |
2230 gui_mch_set_bg_color(color); | 2230 gui_mch_set_bg_color(color); |
2231 PgDrawRect(&r, Pg_DRAW_FILL); | 2231 PgDrawRect(&r, Pg_DRAW_FILL); |
2232 DRAW_END; | 2232 DRAW_END; |
2233 } | |
2234 | |
2235 int | |
2236 gui_mch_is_blinking(void) | |
2237 { | |
2238 return blink_state != BLINK_NONE; | |
2233 } | 2239 } |
2234 | 2240 |
2235 void | 2241 void |
2236 gui_mch_set_blinking(long wait, long on, long off) | 2242 gui_mch_set_blinking(long wait, long on, long off) |
2237 { | 2243 { |