Closed 12932 closed 1 year ago
Hi, humm, it is an interesting use, different than what was intended... They are two distinct features: calibrate changes the refresh curve, and refresh_secs makes the refresh fixed. And the latter was made to accommodate long refreshes like hours (currently max 24 hours), I had not thought at all about sub-second refreshes like this... But it is not difficult to implement it. I'll change its internal type to a float instead of an int, and it should work 👍
Thank you Rogério, I have bought you a coffee 😄
Awesome, thanks man! You're welcome. It seems to be working, I'll test a bit more and release it with the next major!
Hi, i'm trying to force the refresh rate of my bar to about 4 times a second
The README mentions that it's possible to calibrate this
I can see that the bar takes a
refresh_secs
argument, but since I would like to update every0.25
seconds, it doesn't like it:How can I reduce the refresh rate of my bar, to about 4 times a second?