vim-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 vim/vim#1907)
0792048842
This commit is contained in:
Jan Edmund Lazo
2018-07-27 13:27:13 -04:00
parent 9abe0bdb54
commit 243d16688a

View File

@@ -569,9 +569,13 @@ void update_debug_sign(buf_T *buf, linenr_T lnum)
}
}
/* Return when there is nothing to do, screen updating is already
* happening (recursive call) or still starting up. */
if (!doit || updating_screen || starting) {
// Return when there is nothing to do, screen updating is already
// happening (recursive call), messages on the screen or still starting up.
if (!doit
|| updating_screen
|| State == ASKMORE || State == HITRETURN
|| msg_scrolled
|| starting) {
return;
}