# HG changeset patch # User Bram Moolenaar # Date 1546810205 -3600 # Node ID a4fb69fd62a6a23fcd00af4cded56089dba853d9 # Parent 478374917d82219b250b57e1627298cbc2610325 patch 8.1.0700: using "gt" sometimes does not redraw a tab commit https://github.com/vim/vim/commit/04b4e1a42409f81d65ae4801ac867dc0bba3d7b8 Author: Bram Moolenaar Date: Sun Jan 6 22:22:07 2019 +0100 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(). diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -238,6 +238,9 @@ redraw_all_later(int type) { redraw_win_later(wp, type); } + // This may be needed when switching tabs. + if (must_redraw < type) + must_redraw = type; } /* diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 700, +/**/ 699, /**/ 698,