Skip to content

Commit 1fc840e

Browse files
KristofferCKristofferC
authored andcommitted
fix flickering of progress bar on package installation (#3993)
(cherry picked from commit a717900)
1 parent ffe6868 commit 1fc840e

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
@@ -40,7 +40,7 @@ function show_progress(io::IO, p::MiniProgressBar; termwidth=nothing, carriagere
4040
return
4141
end
4242
t = time()
43-
if p.has_shown && (t - p.time_shown) < PROGRESS_BAR_TIME_GRANULARITY[]
43+
if !p.always_reprint && p.has_shown && (t - p.time_shown) < PROGRESS_BAR_TIME_GRANULARITY[]
4444
return
4545
end
4646
p.time_shown = t

0 commit comments

Comments
 (0)