Skip to content
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

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.

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
29 checks passed
@nicowilliams
Copy link
Contributor

Thanks!

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