changeset 15384:a4fb69fd62a6 v8.1.0700

patch 8.1.0700: using "gt" sometimes does not redraw a tab commit https://github.com/vim/vim/commit/04b4e1a42409f81d65ae4801ac867dc0bba3d7b8 Author: Bram Moolenaar <Bram@vim.org> 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().
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Jan 2019 22:30:05 +0100
parents 478374917d82
children 14161b838142
files src/screen.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
 
 /*
--- 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,