]> granicus.if.org Git - vim/commitdiff
patch 8.0.0837: signs can be drawn on top of console messages v8.0.0837
authorBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 18:53:30 +0000 (20:53 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 1 Aug 2017 18:53:30 +0000 (20:53 +0200)
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)

src/screen.c
src/version.c

index ea07d02d422e3371bc77ac14e07ab1f38275c5cb..77d0e4f9b96b3501be6da79cfc9022f08c94b847 100644 (file)
@@ -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
index 3aab4d39b8fccb0f4fc6544fcae8a602739b9afd..d6f08bb966facec4e09342a6dcd5c497c1a8fa2e 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    837,
 /**/
     836,
 /**/