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

[Help] What's wrong with my terminal #248

Open
SMFDrummer opened this issue Jan 5, 2025 · 3 comments
Open

[Help] What's wrong with my terminal #248

SMFDrummer opened this issue Jan 5, 2025 · 3 comments

Comments

@SMFDrummer
Copy link

As you can see, I totally copied your sample code but in Windows terminal cannot present any color and animate...
{B499445B-4420-4094-BFB8-2F8AFC7095DC}

@ajalt
Copy link
Owner

ajalt commented Jan 5, 2025

You're probably running the code through a wrapper that's preventing terminal detection. Try constructing your terminal with Terminal(AnsiLevel.TRUECOLOR)

@SMFDrummer
Copy link
Author

Thank you very much for solving my problem. I apologize for not reading the development documentation carefully.
One more thing, although the color has been restored, the white gradient streamline animation of the progress bar is not displayed. Is it because your example code has turned off some settings?
image

@SMFDrummer
Copy link
Author

My bad, I should use animateInCoroutine instead of build. But how can I use animateInCoroutine function in Panel widget?

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

No branches or pull requests

2 participants