Skip to content

Commit

Permalink
Test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Apr 16, 2024
1 parent ceaa10c commit 97351c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ public void AddStr (string str)
/// <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.
Expand Down Expand Up @@ -347,7 +346,6 @@ public void ClearContents ()
/// <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)
{
Expand Down
4 changes: 2 additions & 2 deletions Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1290,8 +1290,8 @@ public override void UpdateScreen ()

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++)
Expand Down

0 comments on commit 97351c3

Please sign in to comment.