Add support for ANSI colors in log output


Many logging utilities, such as debug, use ANSI colors to make the output easier to read. It would be great if Glitch could display them. Currently, they are displayed like this:

e[32;1mnails e[0mGET / HTTP/1.1 e[32m+1se[0m

The implementation should also make stdout and stderr return true for isatty, so the colors are emitted.


Thanks for the suggestion, we’ve added it to our feature backlog.



[19:18:25.323] e[33mCycle Warning     e[0m | Skipping (Error: Bad status code (404))