diff --git a/Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs b/Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs index 28ef1e82d..a27441630 100644 --- a/Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs +++ b/Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs @@ -311,7 +311,6 @@ public abstract class ConsoleDriver /// Clears the of the driver. 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 /// The Rune used to fill the rectangle public void FillRect (Rectangle rect, Rune rune = default) { - Debug.WriteLine ("FillRect"); rect = Rectangle.Intersect (rect, Clip); lock (Contents) { diff --git a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs b/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs index 6e3506420..7b67c31f7 100644 --- a/Terminal.Gui/ConsoleDrivers/WindowsDriver.cs +++ b/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++)