Skip to content

Commit

Permalink
Switch Base.have_color to get(stdout, :color, false) (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Aug 17, 2020
1 parent 1446aea commit 7413522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ function platform_envs(platform::Platform, src_name::AbstractString; host_platfo
libdir = "$(prefix)/lib"
end

if Base.have_color
if get(stdout, :color, false)
PS1 = string(
raw"\[",
Base.text_colors[:light_blue],
Expand Down

0 comments on commit 7413522

Please sign in to comment.