Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BDisp committed Oct 31, 2023
1 parent 2c65ef2 commit 2cbafd6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1769,19 +1769,15 @@ public override void UpdateScreen ()
for (int col = 0; col < Cols; col++) {
_outputBuffer [row, col].Attribute = Contents [row, col].Attribute.GetValueOrDefault ();
_outputBuffer [row, col].Empty = false;
var rune = Contents[row, col].Rune;
if (Force16Colors)
{
if (rune == Glyphs.LeftBracket)
{
rune = (Rune)'[';
}
else if (rune == Glyphs.RightBracket)
{
rune = (Rune)']';
}
}
_outputBuffer[row, col].Rune = rune;
var rune = Contents [row, col].Rune;
if (Force16Colors) {
if (rune == Glyphs.LeftBracket) {
rune = (Rune)'[';
} else if (rune == Glyphs.RightBracket) {
rune = (Rune)']';
}
}
_outputBuffer [row, col].Rune = rune;
}
}

Expand Down

0 comments on commit 2cbafd6

Please sign in to comment.