diff --git a/stdlib/REPL/src/REPL.jl b/stdlib/REPL/src/REPL.jl index 97c38e50e4b90..9b8adfe1fc56b 100644 --- a/stdlib/REPL/src/REPL.jl +++ b/stdlib/REPL/src/REPL.jl @@ -1231,10 +1231,8 @@ function setup_interface( global pkg_mode if pkg_mode === nothing LineEdit.clear_line(LineEdit.terminal(s)) - Base.printstyled(LineEdit.terminal(s), "(", color = :blue) # use 6 .'s here because its the same width as the most likely `@v1.xx` env name - Base.printstyled(LineEdit.terminal(s), "......", color = :light_black) - Base.printstyled(LineEdit.terminal(s), ") pkg> ", color = :blue) + print(LineEdit.terminal(s), styled"{blue:(}{gray:......}{blue:) pkg> }") # spawn Pkg load to avoid blocking typing during loading. Typing will block if only 1 thread t_replswitch = Threads.@spawn begin pkgid = Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg")