0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
Bram Moolenaar
2017-08-01 20:53:30 +02:00
parent f55e4c867f
commit 0792048842
2 changed files with 6 additions and 1 deletions

View 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 /* 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 if (!doit || updating_screen
|| State == ASKMORE || State == HITRETURN
|| msg_scrolled
#ifdef FEAT_GUI #ifdef FEAT_GUI
|| gui.starting || gui.starting
#endif #endif

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
837,
/**/ /**/
836, 836,
/**/ /**/