Mercurial > vim
comparison src/screen.c @ 11915:594d96ac226b v8.0.0837
patch 8.0.0837: signs can be drawn on top of console messages
commit https://github.com/vim/vim/commit/0792048842493f224bbd7a5dfb348d834f61b205
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 1 20:53:30 2017 +0200
patch 8.0.0837: signs can be drawn on top of console messages
Problem: Signs can be drawn on top of console messages.
Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
closes #1907)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 01 Aug 2017 21:00:06 +0200 |
parents | 318ae82d8ba4 |
children | cf36b424ea03 |
comparison
equal
deleted
inserted
replaced
11914:4f7081eb1e26 | 11915:594d96ac226b |
---|---|
1017 if (wp->w_redr_type != 0) | 1017 if (wp->w_redr_type != 0) |
1018 doit = TRUE; | 1018 doit = TRUE; |
1019 } | 1019 } |
1020 | 1020 |
1021 /* Return when there is nothing to do, screen updating is already | 1021 /* Return when there is nothing to do, screen updating is already |
1022 * happening (recursive call) or still starting up. */ | 1022 * happening (recursive call), messages on the screen or still starting up. |
1023 */ | |
1023 if (!doit || updating_screen | 1024 if (!doit || updating_screen |
1025 || State == ASKMORE || State == HITRETURN | |
1026 || msg_scrolled | |
1024 #ifdef FEAT_GUI | 1027 #ifdef FEAT_GUI |
1025 || gui.starting | 1028 || gui.starting |
1026 #endif | 1029 #endif |
1027 || starting) | 1030 || starting) |
1028 return; | 1031 return; |