Browse Source

Merge pull request #1354 from tznind/main

Fix for #1353 (tab view not refreshing in some circumstances)
Charlie Kindel 4 years ago
parent
commit
3c1fa5f2b1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Terminal.Gui/Views/TabView.cs

+ 2 - 1
Terminal.Gui/Views/TabView.cs

@@ -179,6 +179,7 @@ namespace Terminal.Gui {
 
 			if (Tabs.Any ()) {
 				tabsBar.Redraw (tabsBar.Bounds);
+				contentView.SetNeedsDisplay();
 				contentView.Redraw (contentView.Bounds);
 			}
 		}
@@ -840,4 +841,4 @@ namespace Terminal.Gui {
 		}
 		#endregion
 	}
-}
+}