Test tweaks

This commit is contained in:
Tig
2024-04-15 18:08:51 -06:00
parent ceaa10c1b6
commit 97351c3af6
2 changed files with 2 additions and 4 deletions

View File

@@ -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)
{

View File

@@ -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++)