Skip to content

Commit 0792048

Browse files
committed
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)
1 parent f55e4c8 commit 0792048

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/screen.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,11 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
10191019
}
10201020

10211021
/* Return when there is nothing to do, screen updating is already
1022-
* happening (recursive call) or still starting up. */
1022+
* happening (recursive call), messages on the screen or still starting up.
1023+
*/
10231024
if (!doit || updating_screen
1025+
|| State == ASKMORE || State == HITRETURN
1026+
|| msg_scrolled
10241027
#ifdef FEAT_GUI
10251028
|| gui.starting
10261029
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
837,
772774
/**/
773775
836,
774776
/**/

0 commit comments

Comments
 (0)