Skip to content

Commit af7e2c7

Browse files
KristofferCIanButterworth
authored andcommitted
fix a type in progress bar
(cherry picked from commit 8b0045d)
1 parent c4be257 commit af7e2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MiniProgressBars.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function show_progress(io::IO, p::MiniProgressBar)
5252
progress_text = if p.percentage
5353
@sprintf "%2.1f %%" perc
5454
else
55-
sprint(p.current, "/", p.max)
55+
string(p.current, "/", p.max)
5656
end
5757

5858
max_progress_width = max(0, min(displaysize(io)[2] - textwidth(p.header) - textwidth(progress_text) - 10 , p.width))

0 commit comments

Comments
 (0)