diff src/screen.c @ 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 be92862a0cb4
children 325e4a8ba1b6
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;
 }
 
 /*