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

ProgressUnknown display garbled when counter gets more digits #208

Closed
stevengj opened this issue May 31, 2021 · 1 comment
Closed

ProgressUnknown display garbled when counter gets more digits #208

stevengj opened this issue May 31, 2021 · 1 comment

Comments

@stevengj
Copy link
Contributor

It seems like the ProgressUnknown display is sometimes broken when the number of digits in the counter increases.

For example:

using ProgressMeter
prog = ProgressUnknown("Working:")
while true
    ProgressMeter.next!(prog)
    rand(1:2*10^8) == 1 && break
end
ProgressMeter.finish!(prog)

outputs

Working: 263805411 me: 0 Time: 0:00:13

It doesn't always happen — e.g. running the code above a second time gives

Working: 93336116        Time: 0:00:04

which looks okay.

@MarcMush
Copy link
Collaborator

fixed by #274

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

No branches or pull requests

2 participants