-
Notifications
You must be signed in to change notification settings - Fork 690
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
Unicode Full Block (U+2588) missing color #3074
Comments
What do you have set as |
Good point! My palette 7 in the screenshot is set to Upon further investigation, this seems to be an issue when |
Oh, yeah |
What's weird about this is that playing with contrast works well for all other block glyphs and U+2588 is the only one that instantly break. I guess one way to address this is to also special case box / block glyphs similar to powerline glyphs?
For sure - I think this one would hit quite a few people, given how block glyphs are often used with powerline + stuff that prints QR Codes into the terminal, for example. |
This is a regression I think- we had this problem before. It's an interaction between the padding color extend and the minimum contrast. Right now, hackishly, the padding color extend sets the bg of full block cells to the fg color, so that they can be extended as expected, but they're supposed to be exempt from minimum contrast because they're "powerline-like" symbols, but I guess for some reason they're not being exempted. |
Would be helpful to see if this happens on both OpenGL and Metal renderers. Min contract is a renderer concern so may only apply to one. |
I could reproduce this on Linux, so it's not a Metal-only issue. |
Issue
Unicode Full Block (U+2588) always renders as black, regardless if colors are set, when
minimum-contrast
is not1
(default).I think this might be related to #2117 - all the other Unicode block glyphs work fine.
Steps to reproduce
Set
minimum-contrast
to something higher than1
(e.g.1.1
/3
as suggested in the comment in the config file).Both of these two commands prints the character in black - not as the black set in palette 0, but just pitch black regardless.
The characters render properly when it's highlighted.
Expected behavior
First command should print the character in whatever theme's foreground color is, and second should print the block in palette color 7 (which is usually white).
The text was updated successfully, but these errors were encountered: