Add support for ANSI colors in log output


#1

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.


#2

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


#3

bump!

[19:18:25.323] e[33mCycle Warning     e[0m | Skipping https://tweets-rss.glitch.me/BattlefieldEARU.xml (Error: Bad status code (404))