Skip to content

Commit

Permalink
Fixed minor issue with foreground color not bieg used correctly on vi…
Browse files Browse the repository at this point in the history
…sual frames when the NO_COLOR variable is set
  • Loading branch information
ben_singer committed Dec 3, 2024
1 parent 07ef55d commit 52b9a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetAF/Rendering/Console/GridVisualFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public sealed class GridVisualFrame(GridVisualBuilder builder) : IFrame
/// <returns>The color.</returns>
private AnsiColor GetForegroundColor(int x, int y, bool suppressColor)
{
return !suppressColor ? builder.GetCellForegroundColor(x, y) : builder.GetCellForegroundColor(x, y).ToGray();
return !suppressColor ? builder.GetCellForegroundColor(x, y) : AnsiColor.BrightWhite;
}

/// <summary>
Expand Down

0 comments on commit 52b9a7b

Please sign in to comment.