mordant icon indicating copy to clipboard operation
mordant copied to clipboard

[Help] What's wrong with my terminal

Open SMFDrummer opened this issue 1 year ago • 3 comments

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}

SMFDrummer avatar Jan 05 '25 17:01 SMFDrummer

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

ajalt avatar Jan 05 '25 18:01 ajalt

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 avatar Jan 06 '25 05:01 SMFDrummer

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

SMFDrummer avatar Jan 06 '25 06:01 SMFDrummer