Mercurial > vim
comparison src/gui.c @ 12835:a46dfb3935cf v8.0.1294
patch 8.0.1294: GUI: get stuck when splitting a terminal window
commit https://github.com/vim/vim/commit/2f27aab8e68c48a1b8a51715e1009d572f8e13b5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 12 18:32:00 2017 +0100
patch 8.0.1294: GUI: get stuck when splitting a terminal window
Problem: GUI: get stuck when splitting a terminal window.
Solution: Stop blinking when values become zero. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Nov 2017 18:45:04 +0100 |
parents | 0eb12ef4f8ba |
children | 9ac41c3148ce |
comparison
equal
deleted
inserted
replaced
12834:5b61a133b547 | 12835:a46dfb3935cf |
---|---|
1116 cbg = INVALCOLOR; | 1116 cbg = INVALCOLOR; |
1117 cattr = HL_INVERSE; | 1117 cattr = HL_INVERSE; |
1118 gui_mch_set_blinking(shape->blinkwait, | 1118 gui_mch_set_blinking(shape->blinkwait, |
1119 shape->blinkon, | 1119 shape->blinkon, |
1120 shape->blinkoff); | 1120 shape->blinkoff); |
1121 if (shape->blinkoff == 0 || shape->blinkon == 0 || shape->blinkoff == 0) | |
1122 gui_mch_stop_blink(); | |
1121 #ifdef FEAT_TERMINAL | 1123 #ifdef FEAT_TERMINAL |
1122 if (shape_bg != INVALCOLOR) | 1124 if (shape_bg != INVALCOLOR) |
1123 { | 1125 { |
1124 cattr = 0; | 1126 cattr = 0; |
1125 cfg = shape_fg; | 1127 cfg = shape_fg; |