-
Notifications
You must be signed in to change notification settings - Fork 249
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
Custom keys on ProgressStyle do not work together with enable_steady_tick
#493
Comments
This fixes an issue where the fps and eta would not update until the very end of the encode. See also console-rs/indicatif#493
This fixes an issue where the fps and eta would not update until the very end of the encode. See also console-rs/indicatif#493
Hmm, I find both of these behaviors quite surprising. Would you be able to run a |
It appears that 516c0dc is the commit that introduced the breakage. I suppose the possibility should also be considered that it may not be related to custom keys, but may be related to the per_sec and eta values. 🤔 Also to give a clearer example, here are a couple of screenshots. |
This fixes an issue where the fps and eta would not update until the very end of the encode. See also console-rs/indicatif#493
Pff, honestly not sure what's going on here. Would you be able to dig in a bit more, since you've already built up some context? Happy to answer further questions about how stuff is supposed to work. |
It seems I've narrowed it down further and it's related to |
I observed the same issue, namely that I think the issues is that the So, the enabled I'm wondering, is there a reason for the |
#495 worked for me and shows |
@shssoichiro Would you mind testing if #495 is also able to solve your issue? |
Thanks, it works for me as well. Turns out the issue only affected my custom keys because my custom keys depended on |
Having the same issue here. |
Could not update `indicatif` due to console-rs/indicatif#493
It seems as though there are the following two interactions in indicatif 0.17.2, which were not present in 0.17.0-rc4:
set_style
is used beforeenable_steady_tick
, the steady tick takes effect, but any custom keys that are set on the ProgressStyle using itswith_key
method are never updated.set_style
is used afterenable_steady_tick
, then the custom keys work but the steady tick is disabled.The text was updated successfully, but these errors were encountered: