Skip to content

Commit

Permalink
Do not use light version of colors by default (#21433)
Browse files Browse the repository at this point in the history
  • Loading branch information
musm authored and KristofferC committed Apr 19, 2017
1 parent 085876e commit ceccddf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions base/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ terminal(r::LineEditREPL) = r.t

LineEditREPL(t::TextTerminal, envcolors = false) = LineEditREPL(t,
true,
Base.text_colors[:light_green],
Base.text_colors[:green],
Base.input_color(),
Base.answer_color(),
Base.text_colors[:red],
Expand Down Expand Up @@ -960,7 +960,7 @@ mutable struct StreamREPL <: AbstractREPL
waserror::Bool
StreamREPL(stream,pc,ic,ac) = new(stream,pc,ic,ac,false)
end
StreamREPL(stream::IO) = StreamREPL(stream, Base.text_colors[:light_green], Base.input_color(), Base.answer_color())
StreamREPL(stream::IO) = StreamREPL(stream, Base.text_colors[:green], Base.input_color(), Base.answer_color())
run_repl(stream::IO) = run_repl(StreamREPL(stream))

outstream(s::StreamREPL) = s.stream
Expand Down
8 changes: 4 additions & 4 deletions base/version.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ function banner(io::IO = STDOUT)
c = text_colors
tx = c[:normal] # text
jl = c[:normal] # julia
d1 = c[:bold] * c[:light_blue] # first dot
d2 = c[:bold] * c[:light_red] # second dot
d3 = c[:bold] * c[:light_green] # third dot
d4 = c[:bold] * c[:light_magenta] # fourth dot
d1 = c[:bold] * c[:blue] # first dot
d2 = c[:bold] * c[:red] # second dot
d3 = c[:bold] * c[:green] # third dot
d4 = c[:bold] * c[:magenta] # fourth dot

print(io,""" $(d3)_$(tx)
$(d1)_$(tx) $(jl)_$(tx) $(d2)_$(d3)(_)$(d4)_$(tx) | A fresh approach to technical computing
Expand Down

0 comments on commit ceccddf

Please sign in to comment.