-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "util: use blue on non-windows systems for number/bigint" #19256
Conversation
This reverts commit 1708af3. Numbers are much more difficult to read in blue and it would be good to have a consistent output throughout all OS.
i understand consistent output but |
@devsnek that is correct but the same applies to using blue. I personally would like to have a consistent output throughout all OS as well and I think changing it was a mistake. |
AIUI the original colour was blue, then it was changed everywhere to make it easier to read on Windows. In my experience yellow on a white background is about as hard to read as blue on a black background, and differentiating numbers from other things is definitely useful.
Why? Fundamentally we're not going to find something that works perfectly in all terminals, so I think the current master is a good compromise.
EDIT: If I'm the only one disagreeing then I won't stand in the way of this PR, so -0. |
Numbers were yellow for six years now... I wonder if changing it to blue should not have been a BC actually. Likely a lot of people will have to switch their setting now. There is no "right" or "wrong" since in each case people will be unhappy but I would like to stick to the way it was instead of breaking the old behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on all pre-bundled color schemes of KDE terminal — Konsole.
Yellow looks good on all 12 of them (including ones with white bg).
Blue looks unreadable on 3 (25%) of them, including the probably widely used «White on black» colorscheme.
Given that I don't remember significant complaints about the previous colorscheme over long time, I suggest to revert to it.
I have no strong opinion, I'm fine with both colors so I won't approve nor block this. |
Also, in standard Linux virtual console blue looks much less readable than yellow. |
@nodejs/tsc If there are no objections, I’d like to land this soon – it’s a revert and I think we shouldn’t be shy about that. I do agree that blue looks nice, but even in that case we should probably stick to the current default, and maybe provide some way to configure things via an env var or so if we want to. ¯\_(ツ)_/¯ |
SGTM |
Landed in 1329844 |
This reverts commit 1708af3. Numbers are much more difficult to read in blue and it would be good to have a consistent output throughout all OS. PR-URL: #19256 Refs: #18925 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This reverts commit 1708af3.
Numbers are much more difficult to read in blue and it would be good
to have a consistent output throughout all OS.
Refs: #18925
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes