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

Color transitions are not smooth #10062

Closed
rashil2000 opened this issue May 9, 2021 · 5 comments
Closed

Color transitions are not smooth #10062

rashil2000 opened this issue May 9, 2021 · 5 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@rashil2000
Copy link
Contributor

Windows Terminal version (or Windows build number)

10.0.19042.928, 1.8.1032.0

Other Software

lolcat (latest)

Steps to reproduce

To reproduce, use Cygwin/MSys2/WSL, and run the following command in Bash:

printf '█%.0s' {1..400} | lolcat

Expected Behavior

Running WSL in Xfce4 Terminal (VcXsrv):

image

Actual Behavior

Running WSL in Windows Terminal:

image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 9, 2021
@j4james
Copy link
Collaborator

j4james commented May 9, 2021

Try setting the truecolor option with lolcat --truecolor or lolcat -t.

@rashil2000
Copy link
Contributor Author

It works with --truecolor, but I wonder why it behaves differently by default?

@j4james
Copy link
Collaborator

j4james commented May 9, 2021

Looking at the source, I think lolcat checks the COLORTERM environment variable. So if you set that to truecolor, it'll probably select the truecolor option automatically. I'm guessing Xfce sets the COLORTERM variable itself.

@rashil2000
Copy link
Contributor Author

Ah, thanks for the detailed answer! Since WT doesn't have a way to set env vars (I believe #9287 is still under review), I'll make a user-wide entry in the Start Menu -> Environment Variables for COLORTERM.
Should I close this then?

@j4james
Copy link
Collaborator

j4james commented May 9, 2021

Yeah. If you're happy that your issue has been addressed - or will be addressed by #9287 - then you can probably close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants