DiffEqBase.jl
DiffEqBase.jl copied to clipboard
Disable ANSI colors
Types still print ANSI colors even if I run julia using julia --color no. This breaks displays that don't support ANSI colors (Weave.jl) for one.
What should we use as output?
I think in this case you just output text without ANSI format codes. I think this what printstyleddoes, see the documentation of IOContext https://docs.julialang.org/en/v1/base/io-network/index.html#Base.IOContext-Tuple{IO,Pair}
I managed to remove ANSI codes from Weave output, but I think the correct behavior would be to respect the color flag, Probably not very urgent to fix.