As a partial solution, this makes warnings print in black rather than red.

julia> Base.eval(parse("default_color_warn = :black"))

I just had a problem in which I wanted to do the opposite, restore coloring 
and bold to a new REPL.

Also, this gives a black, plain typeface to warning and error messages:

 Base.eval(parse("have_color = false"))

John

On Monday, February 8, 2016 at 9:10:28 AM UTC+1, [email protected] wrote:
>
> I'm trying to improve the appearance of text in my Julia REPL. According 
> to this PR (https://github.com/JuliaLang/julia/pull/11250) (which sadly 
> seems to have ground to a halt), it should be possible to control the 
> appearance of text in the REPL by adding lines to the .juliarc.jl file. 
>
> I've tried adding stuff like:
>
>     ENV["JULIA_WARN_COLOR"] = :normal
>     ENV["JULIA_INFO_COLOR"] = :normal
>
> to the .juliarc.jl. I've also tried various commands in the REPL, such as:
>
>     julia> Base.active_repl.prompt_color = Base.text_colors[:normal]
>
> and various other things, but nothing has yet worked. But I feel I'm 
> close! :). 
>
> Anybody successfully controlled the colors in the REPL?
>
>

Reply via email to