瀏覽代碼

Test tweaks

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

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

@@ -311,7 +311,6 @@ public abstract class ConsoleDriver
     /// <summary>Clears the <see cref="Contents"/> of the driver.</summary>
     public void ClearContents ()
     {
-        Debug.WriteLine ("ClearContents");
         // TODO: This method is really "Clear Contents" now and should not be abstract (or virtual)
         Contents = new Cell [Rows, Cols];
         //CONCURRENCY: Unsynchronized access to Clip isn't safe.
@@ -347,7 +346,6 @@ public abstract class ConsoleDriver
     /// <param name="rune">The Rune used to fill the rectangle</param>
     public void FillRect (Rectangle rect, Rune rune = default)
     {
-        Debug.WriteLine ("FillRect");
         rect = Rectangle.Intersect (rect, Clip);
         lock (Contents)
         {

+ 2 - 2
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -1290,8 +1290,8 @@ internal class WindowsDriver : ConsoleDriver
 
         var bufferCoords = new WindowsConsole.Coord
         {
-            X = (short)Clip.Width,
-            Y = (short)Clip.Height
+            X = (short)Cols, //Clip.Width,
+            Y = (short)Rows, //Clip.Height
         };
 
         for (var row = 0; row < Rows; row++)