mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Test tweaks
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user