Replies: 1 comment
-
What terminal emulator are you using? It can also impact behavior. Ran your code using several different emulators @ 1920x1080 Then I ran the code inside a tmux session with each of those emulators and found Noticed that in the code you are using I found reducing the terminal window size positively impacts rendering. TLDR; reduce bar width or use less color to render more bars without flicker. Experimenting with animating progress bars in my projects, I found issues with |
Beta Was this translation helpful? Give feedback.
-
👋 hello folks, and thank you for this amazing library. I'm diving in for the first time and learning by building a dashboard but I ran into an interesting scenario. If I have lots of
progressbar
s on the screen (say 20 or more), the transitions are no longer smoothe and you begin to see flicker.Is this known/expected? I checked the docs and I didn't see any notes around best practices to avoid jank so I apologize if Ive missed something obvious but if anyone has any pointers, I'd really appreciate it 🙏. Minimal code to reproduce below, after setting
NumProgressBars = 5
you no longer see flicker and things are smootherBeta Was this translation helpful? Give feedback.
All reactions