console-rs / console-rs/console
white isn't white
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 144
- Avg merge
- 8h 24m
- Merged PRs (30d)
- 4
Description
When using the color white it isn't really white instead it's more a light gray.
here is a table of the 256 colors.
currently, only the first 8 (0-7) are used and white is mapped to 7 which isn't white
it would probably be good to add the first 16 colors to the color enum.
note:
if you are ok with this change I could do the change myself and open a PR
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/utils.rs at the color mapping linked by the issue, then trace the color enum and its use in terminal output. Compare the white color with the 256-color reference and update the color definitions so the intended white is represented. Done means white renders as white rather than light gray, with the first 16 colors supported as proposed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100