mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Fixes #2793. Windows Terminal still show vertical scroll bar using WindowsDriver.
This commit is contained in:
@@ -1436,6 +1436,8 @@ namespace Terminal.Gui {
|
||||
// wipe out the backscroll buffer when the application exits.
|
||||
Console.Out.Write ("\x1b[?1047h");
|
||||
|
||||
Console.Out.Write ("\x1b[3J");
|
||||
|
||||
var winSize = WinConsole.GetConsoleOutputWindow (out Point pos);
|
||||
cols = winSize.Width;
|
||||
rows = winSize.Height;
|
||||
@@ -1473,6 +1475,8 @@ namespace Terminal.Gui {
|
||||
Bottom = (short)Rows,
|
||||
Right = (short)Cols
|
||||
};
|
||||
Console.Out.Write ("\x1b[3J");
|
||||
|
||||
WinConsole.ForceRefreshCursorVisibility ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user