瀏覽代碼

Removed [0J from End()

Tigger Kindel 2 年之前
父節點
當前提交
4e4b1e5a64
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 0 - 7
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -1701,13 +1701,6 @@ namespace Terminal.Gui {
 
 			// Disable alternative screen buffer.
 			Console.Out.Write ("\x1b[?1047l");
-
-			// Needed for Windows Terminal
-			// Clear the alternative screen buffer from the cursor to the
-			// end of the screen.
-			// Note, [3J causes Windows Terminal to wipe out the entire NON ALTERNATIVE
-			// backbuffer! So we need to use [0J instead.
-			Console.Out.Write ("\x1b[0J");
 		}
 
 		/// <inheritdoc/>