Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change the default color of null to Bright Black #2824

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Aug 5, 2023

There have been multiple reports about the default color of null on dark background (#1252, #1972, #2113). Currently null is colored by \e[1;30m, which means bold (or increased intensity) black, and is totally invisible on some terminals (e.x. Terminal.app with Homebrew/Pro profile). I think we could improve the null color for the better defaults, I choose \e[0;90m, which means normal bright black. This color should look better on dark background color schemes.
This PR resolves #1252, resolves #1972, and resolves #2113.

@itchyny itchyny force-pushed the change-default-null-color branch from 7311a7c to fc7ecf7 Compare August 5, 2023 13:07
@itchyny itchyny force-pushed the change-default-null-color branch from fc7ecf7 to a089539 Compare August 5, 2023 13:07
Copy link
Member

@wader wader left a comment

Choose a reason for hiding this comment

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

LGTM. Is there some more common terminals to verify? xterm? rxvt? kde/gnome terminals? windows shell?

@nicowilliams nicowilliams merged commit a692060 into jqlang:master Aug 6, 2023
@nicowilliams
Copy link
Contributor

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
3 participants