浏览代码

Also clear screen in Unix and typo.

BDisp 4 年之前
父节点
当前提交
39c2856861
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      Terminal.Gui/ConsoleDrivers/NetDriver.cs
  2. 1 1
      Terminal.Gui/Core/Application.cs

+ 2 - 0
Terminal.Gui/ConsoleDrivers/NetDriver.cs

@@ -1032,6 +1032,8 @@ namespace Terminal.Gui {
 		{
 			if (Rows > 0) {
 				Console.Clear ();
+				Console.Out.Write ("\x1b[3J");
+				//Console.Out.Write ("\x1b[?25l");
 			}
 		}
 

+ 1 - 1
Terminal.Gui/Core/Application.cs

@@ -100,7 +100,7 @@ namespace Terminal.Gui {
 		}
 
 		/// <summary>
-		/// Used only by <see cref="NetDriver"/> to forcing always setting the cursor position when writing to the screen.
+		/// Used only by <see cref="NetDriver"/> to forcing always moving the cursor position when writing to the screen.
 		/// </summary>
 		public static bool AlwaysSetPosition {
 			get {