Skip to content
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

Use current position for calculating finished progress bar per_sec instead of bar length #605

Merged
merged 1 commit into from Jan 4, 2024

Conversation

DanGonite57
Copy link
Contributor

Fixes #601

Copy link
Collaborator

@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.

Sorry for the long delay in reviewing this -- I think it makes sense.

For future robustness, please consider submitting another PR that includes a test for this.

@djc djc merged commit 2a8b2ea into console-rs:main Jan 4, 2024
10 checks passed
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.

per_sec values not retained when iteration exits early with ProgressFinish::Abandon
2 participants