diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 4774075086..8bed083c7b 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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; } |