oils-for-unix / oils

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.84k stars 156 forks source link

Add optional color to error messages #434

Open andychu opened 5 years ago

andychu commented 5 years ago

Maybe the colors should be controlled by an option, like shopt -s color-errors

Not to go overboard, but we might want some notion of styles:

andychu commented 2 years ago

I want to tackle this soon

andychu commented 2 years ago

copying comments:

I think color error messages like Clang/GCC can be more concise and readable, but there are some pitfalls:

https://lobste.rs/s/rcdj1z/hard_part_learning_language#c_e5y0gn

solution could be to respect

https://no-color.org/