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

Magenta color not working properly in this version #58

Closed
kderholtvisma opened this issue Jul 6, 2022 · 4 comments
Closed

Magenta color not working properly in this version #58

kderholtvisma opened this issue Jul 6, 2022 · 4 comments

Comments

@kderholtvisma
Copy link

kderholtvisma commented Jul 6, 2022

In version 3.1.0 this does not work
cfonts "Not Working" --gradient "magenta",'#07d569',"#f80" -t --spaceless -a center

Works fine in version 2.10.1

@dominikwilkowski
Copy link
Owner

Hey @kderholtvisma

I can't reproduce this. Can you send me a screenshot of what you're getting in your output?

image

@kderholtvisma
Copy link
Author

kderholtvisma commented Jul 7, 2022

When i type this with magenta, the text gets removed and this is the output
image

If i remove magenta from the name and put red:
image
That works.

This is with version 3.1.0

If I install version 2.10.1, this is the output
image

After more digging it seems like the weird displaying is due to color support.
IF I set TERM=xterm-256color
and run the same command on version 3.1.0 it will show correct:
image

So conclution is, if color is not supported in the terminal; version 2.10.1 will show text proper, while 3.1.0 will not.

PS: this is inside a docker running on arm and not x86

@dominikwilkowski
Copy link
Owner

Ah yes now I can reproduce this! When I set env var to FORCE_COLOR=1 then I can see the ANSI output for magenta is funky... Will fix now
Thanks for the report!

@dominikwilkowski
Copy link
Owner

This should be fixed now in v3.1.1

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

No branches or pull requests

2 participants