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

Don't round up to 100% if not complete #300

Closed
IanButterworth opened this issue Feb 15, 2024 · 0 comments · Fixed by #301
Closed

Don't round up to 100% if not complete #300

IanButterworth opened this issue Feb 15, 2024 · 0 comments · Fixed by #301

Comments

@IanButterworth
Copy link
Collaborator

IanButterworth commented Feb 15, 2024

I feel 100% should be reserved for the "finished" state.

julia> p = Progress(1000);

julia> update!(p, 999)
Progress: 100%|███████████████████████████████████████████████████████████████████████████████████▉|  ETA: 0:00:00
julia> update!(p, 1000)
Progress: 100%|████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:13
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 a pull request may close this issue.

1 participant