mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Removed clear scfreeen esc seq
This commit is contained in:
@@ -1476,19 +1476,6 @@ namespace Terminal.Gui {
|
||||
Right = (short)Cols
|
||||
};
|
||||
WinConsole.ForceRefreshCursorVisibility ();
|
||||
|
||||
// ANSI ESC "[xJ" Clears part of the screen.
|
||||
// If n is 0 (or missing), clear from cursor to end of screen.
|
||||
// If n is 1, clear from cursor to beginning of the screen.
|
||||
// If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS).
|
||||
// If n is 3, clear entire screen and delete all lines saved in the scrollback buffer
|
||||
// DO NOT USE 3J - even with the alternate screen buffer, it clears the entire scrollback buffer
|
||||
if (EnableConsoleScrolling) {
|
||||
// This destroys the back-buffer. But it only happens if the app is resized
|
||||
Console.Out.Write ("\x1b[3J");
|
||||
} else {
|
||||
Console.Out.Write ("\x1b[0J");
|
||||
}
|
||||
}
|
||||
|
||||
public override void UpdateOffScreen ()
|
||||
|
||||
Reference in New Issue
Block a user