Skip to content

Commit

Permalink
update precompile progress bar to match Pkg (JuliaLang#55512)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Aug 16, 2024
1 parent f2fc2d9 commit 0a26e90
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,10 @@ function show_progress(io::IO, p::MiniProgressBar; termwidth=nothing, carriagere
to_print = sprint(; context=io) do io
print(io, " "^p.indent)
printstyled(io, p.header, color=p.color, bold=true)
print(io, " [")
print(io, "="^n_filled, ">")
print(io, " "^n_left, "] ", )
print(io, " ")
printstyled(io, ""^n_filled; color=p.color)
printstyled(io, perc >= 95 ? "" : ""; color=p.color)
printstyled(io, ""^n_left, " "; color=:light_black)
print(io, progress_text)
carriagereturn && print(io, "\r")
end
Expand Down

0 comments on commit 0a26e90

Please sign in to comment.