Skip to content

Commit 04b4e1a

Browse files
committed
patch 8.1.0700: using "gt" sometimes does not redraw a tab
Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin) Solution: Always set must_redraw in redraw_all_later().
1 parent 6d11f3b commit 04b4e1a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/screen.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ redraw_all_later(int type)
238238
{
239239
redraw_win_later(wp, type);
240240
}
241+
// This may be needed when switching tabs.
242+
if (must_redraw < type)
243+
must_redraw = type;
241244
}
242245

243246
/*

src/version.c

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

800800
static int included_patches[] =
801801
{ /* Add new patch number below this line */
802+
/**/
803+
700,
802804
/**/
803805
699,
804806
/**/

0 commit comments

Comments
 (0)