From: Bram Moolenaar Date: Sun, 6 Jan 2019 21:22:07 +0000 (+0100) Subject: patch 8.1.0700: using "gt" sometimes does not redraw a tab X-Git-Tag: v8.1.0700 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04b4e1a42409f81d65ae4801ac867dc0bba3d7b8;p=thirdparty%2Fvim.git 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 index adc62e10e7..e9405b4f8e 100644 --- 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 index a693050318..373f7a8e0c 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 700, /**/ 699, /**/