From: Bram Moolenaar Date: Tue, 1 Aug 2017 18:53:30 +0000 (+0200) Subject: patch 8.0.0837: signs can be drawn on top of console messages X-Git-Tag: v8.0.0837 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0792048842493f224bbd7a5dfb348d834f61b205;p=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 #1907) --- diff --git a/src/screen.c b/src/screen.c index ea07d02d4..77d0e4f9b 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1019,8 +1019,11 @@ 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. */ + * happening (recursive call), messages on the screen or still starting up. + */ if (!doit || updating_screen + || State == ASKMORE || State == HITRETURN + || msg_scrolled #ifdef FEAT_GUI || gui.starting #endif diff --git a/src/version.c b/src/version.c index 3aab4d39b..d6f08bb96 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 837, /**/ 836, /**/