Closed ermo closed 6 months ago
When I output to a file and cat
it, the colors appear fine in both Alacritty and gnome-terminal. How/where are you using this where it appears broken?
When I output to a file and
cat
it, the colors appear fine in both Alacritty and gnome-terminal. How/where are you using this where it appears broken?
solbuild logs viewed in a web browser (which is incapable of parsing ANSI terminal escape codes as colors etc.)
I suspect this was silently fixed for 1.6.0 by @silkeh though.
This was changed in #42 (included in 1.6.0): Solbuild now only enables the colored logger if the output is a TTY.
Logs currently look atrocious in a web browser due to ANSI color escape sequences not being stripped when outputting to a file or piping.
It matters when reviewing build server logs in a browser and ought to be fixed once and for all.