-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add support for setting/changing total after creation #43
Comments
Just for the record: you CAN change I didn't test it, but I guess you can also change the What did you try so far? Was this only an issue in an older version? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some cases, like HTTP downloads (see
progress_function
in libcurl for example), you may not know the size of the download until after you have been in touch with the remote server. But you may still want to create the progress bar to show that things are happening. Once the connection is established, and theContent-Length
header has been received, the total for the progress bar can be set, and progress can be logged.It'd be great if
pb
offered a way to create a new, "indeterminate" progress bar, and then allow for the total to be set afterwards.The text was updated successfully, but these errors were encountered: