mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
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:
@@ -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
|
// Return when there is nothing to do, screen updating is already
|
||||||
* happening (recursive call) or still starting up. */
|
// happening (recursive call), messages on the screen or still starting up.
|
||||||
if (!doit || updating_screen || starting) {
|
if (!doit
|
||||||
|
|| updating_screen
|
||||||
|
|| State == ASKMORE || State == HITRETURN
|
||||||
|
|| msg_scrolled
|
||||||
|
|| starting) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user