8000 resetting the elapsed time also resets ETA by afontenot · Pull Request #538 · console-rs/indicatif · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

resetting the elapsed time also resets ETA #538

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

Merged
merged 1 commit into from
May 9, 2023

Conversation

afontenot
Copy link
Contributor

It makes sense to reset the ETA without resetting the time elapsed back to zero, but when setting the time elapsed back to zero, the ETA should also be reset as this should make the progress bar behave as if it had just been activated (in a partially complete state).

Fixes #536.

Copy link
Member
@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@djc djc merged commit 6d31845 into console-rs:main May 9, 2023
@djc
Copy link
Member
djc commented May 9, 2023

@chris-laplante further feedback welcome!

@djc djc mentioned this pull request May 24, 2023
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

Successfully merging this pull request may close these issues.

Resetting the time elapsed does not also reset the ETA
2 participants
0