Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ public static string MapColorPairToEscapeSequence(ConsoleColor foregroundColor,
throw new ArgumentOutOfRangeException(paramName: nameof(foregroundColor));
}

if (backIndex < 0 || backIndex >= ForegroundColorMap.Length)
if (backIndex < 0 || backIndex >= BackgroundColorMap.Length)
{
throw new ArgumentOutOfRangeException(paramName: nameof(backgroundColor));
Comment on lines +895 to 897
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description mentions fixing FromAnsiColor, but there is no FromAnsiColor implementation in this branch/repo and the actual fix is in MapColorPairToEscapeSequence. Please update the description to reference the correct method/behavior to avoid confusion during release backport tracking.

Copilot uses AI. Check for mistakes.
}
Expand Down
Loading