Browse Source

Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop

Tig Kindel 3 years ago
parent
commit
2fe30c703e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 1 - 1
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -771,7 +771,7 @@ namespace Terminal.Gui {
 					w += 3;
 				}
 				var newSize = WinConsole.SetConsoleWindow (
-					(short)Math.Max (w, 16), (short)e.Height);
+					(short)Math.Max (w, 16), (short)Math.Max (e.Height, 1));
 				left = 0;
 				top = 0;
 				cols = newSize.Width;