We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4be257 commit af7e2c7Copy full SHA for af7e2c7
src/MiniProgressBars.jl
@@ -52,7 +52,7 @@ function show_progress(io::IO, p::MiniProgressBar)
52
progress_text = if p.percentage
53
@sprintf "%2.1f %%" perc
54
else
55
- sprint(p.current, "/", p.max)
+ string(p.current, "/", p.max)
56
end
57
58
max_progress_width = max(0, min(displaysize(io)[2] - textwidth(p.header) - textwidth(progress_text) - 10 , p.width))
0 commit comments