Skip to content

Commit

Permalink
fix flickering of progress bar on package installation (#3993)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Aug 14, 2024
1 parent 15ef1a1 commit a717900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MiniProgressBars.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function show_progress(io::IO, p::MiniProgressBar; termwidth=nothing, carriagere
return
end
t = time()
if p.has_shown && (t - p.time_shown) < PROGRESS_BAR_TIME_GRANULARITY[]
if !p.always_reprint && p.has_shown && (t - p.time_shown) < PROGRESS_BAR_TIME_GRANULARITY[]
return
end
p.time_shown = t
Expand Down

0 comments on commit a717900

Please sign in to comment.