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

ChangeMax64 did not work with OptionShowBytes #116

Merged
merged 1 commit into from Dec 20, 2021

Commits on Oct 15, 2021

  1. ChangeMax64 did not work with OptionShowBytes

    Test code:
    ```
    bar := progressbar.NewOptions64(1, progressbar.OptionShowBytes(true), progressbar.OptionShowCount())
    bar.ChangeMax64(500000)
    bar.Add(250)
    ```
    
    Output:
    `0% |                                        | (250 B/ 1B, 466.006 kB/s) [0s:0s]`
    
    Expected output:
    `0% |                                        | (250 B/488 kB, 466.006 kB/s) [0s:0s]`
    T1MOXA committed Oct 15, 2021
    Copy the full SHA
    18a2de6 View commit details
    Browse the repository at this point in the history