Skip to content

Fix incorrect ANSI color codes for white and bright white#2

Open
prjanitor wants to merge 1 commit into
veteranbv:mainfrom
prjanitor:prjanitor/ca18a3ec8bf27a9c2af986905a62e95eaf1787a1
Open

Fix incorrect ANSI color codes for white and bright white#2
prjanitor wants to merge 1 commit into
veteranbv:mainfrom
prjanitor:prjanitor/ca18a3ec8bf27a9c2af986905a62e95eaf1787a1

Conversation

@prjanitor

Copy link
Copy Markdown

The previous implementation used \033[97m for both 'white' and 'brightwhite'.

In standard ANSI escape sequences:

  • \033[37m is the standard white color.
  • \033[97m is the high-intensity (bright) white color.

This PR updates 'white' to use the correct 3-bit/4-bit code (\033[37m) so that 'brightwhite' correctly represents the high-intensity version.


This PR was generated by PRJanitor — an automated tool that finds and fixes small bugs in open-source projects.

We respect your contribution guidelines — if your project doesn't accept bot PRs, we won't send more. You can also add a .github/prjanitor.yml file with enabled: false to opt out explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant