-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
pastel pick doesn't display all colors #121
Comments
It appears that If you run |
Well, I saw the warning and set the environment variable Edit: Btw it just works for st, I just looked into it and urxvt doesn't even support truecolor to my surprise. |
It looks like there is, yes. I can reproduce it. Thank you for reporting this! (Unrelated: in general, I suggest using a terminal which properly sets |
Can you explain where to start? I can give this a go but I'm new to Rust. So I'll timebox it to not waste time. |
@yugonline Sorry for the delay. Are you still interested in tackling this? |
So to reproduce this, run: COLORTERM="" PASTEL_COLOR_MODE=24bit pastel pick It should show a smooth color palette (like for Next, look into let mut canvas = Canvas::new(
width + 2 * config.padding,
width + 2 * config.padding,
Brush::from_environment(Stream::Stderr),
); The problem is the |
Sounds good I'll take a look! |
When I run![output_image](https://user-images.githubusercontent.com/24685286/78463921-30680a80-76e3-11ea-8936-a3c700bb5f0f.png)
pastel pick
in st or urxvt, i get a output likeeven though when running this:
from https://gist.github.com/XVilka/8346728, I get a smooth gradient:
![gradient_image](https://user-images.githubusercontent.com/24685286/78463968-dca9f100-76e3-11ea-9de0-c91350367a23.png)
![alacritty_output_image](https://user-images.githubusercontent.com/24685286/78463977-04995480-76e4-11ea-8422-e01ad938f32d.png)
In alacritty, it seems to work though:
The text was updated successfully, but these errors were encountered: