Fixes #931. Fixed the limit 25 lines issue. (#1254)

* Fixes #931. Fixed the limit 25 lines issue.

* Added some comments in the code that explain this.
This commit is contained in:
BDisp
2021-04-27 19:25:34 +01:00
committed by GitHub
parent 761224cf77
commit 993a255477

View File

@@ -91,11 +91,15 @@ namespace Terminal.Gui {
SetCursorVisibility (CursorVisibility.Default);
Curses.endwin ();
// I'm commenting this because was used in a trying to fix the Linux hanging and forgot to exclude it.
// Clear and reset entire screen.
Console.Out.Write ("\x1b[2J");
Console.Out.Flush ();
Console.Out.Write ("\x1b[1;25r");
Console.Out.Flush ();
//Console.Out.Write ("\x1b[2J");
//Console.Out.Flush ();
// Reports current cursor line and column.
//Console.Out.Write ("\x1b[1;25r");
//Console.Out.Flush ();
//Set cursor key to cursor.
Console.Out.Write("\x1b[?1l");