Open kimikage opened 3 weeks ago
There's also an overprinting bug around this code somewhere https://github.com/JuliaLang/Pkg.jl/issues/3581
Fixing the number of characters in the percentage would solve this problem.
E.g., use "%5.1f %%"
https://github.com/JuliaLang/Pkg.jl/blob/78bca42272aac3f3b1f9d621a2f995babfc23f2e/src/MiniProgressBars.jl#L51
Alternatively, a measure to perform line clearing when the value of max
changes from the last time would also be effective.
This is off-topic, but the comment below has not been updated and has multiple typos. https://github.com/JuliaLang/Pkg.jl/blob/78bca42272aac3f3b1f9d621a2f995babfc23f2e/src/MiniProgressBars.jl#L78-L89
Afterimages of the download progress bar may be visible.![progress](https://github.com/JuliaLang/Pkg.jl/assets/12679384/abb3bb10-2565-43c5-bf79-34508e02f15c)
This is probably due to the redirection. I.e., once the download progress reaches "100.0 %", the actual download restarts from "0.0 %".
https://github.com/JuliaLang/Pkg.jl/blob/78bca42272aac3f3b1f9d621a2f995babfc23f2e/src/PlatformEngines.jl#L275-L279
This bug seems to be old and can be traced back to at least Julia v1.6.7.