Closed mauricioszabo closed 8 years ago
I was going to point out that this seems like a library issue, where they should be trying to detect whether a colour terminal is available or not. But this is a very sensible solution so it's hard to say no :) LGTM!
Can you rebase this on latest master? I think I introduced some conflict somewhere... Thanks!
Okay, I've merged it. It was just a require
.
Great, thanks!
Any chance of releasing a new version with this feature included? I see it just missed the last cut. Thanks!
Hi there,
I noticed that ANSI colors were suddenly working when I updated atom-ink :)
Thanks for making a new release!
Heh, great to hear they still work -- wasn't sure I hadn't broken them some time back...
I'm working with Clojure, with proto-repl. When I work with midje and other test libraries that colorize outputs, my text becomes very garbled and sometimes I'm not even able to find out what's wrong.
(before)![image](https://cloud.githubusercontent.com/assets/138037/17680036/a4746162-6314-11e6-805a-b08da9a101a7.png)
This PR adds a new dependency (because ANSI parsing is kinda hard) and wire it to stdout and stderr, so the same colors that would appear on terminal will appear in the console:
(after)![image](https://cloud.githubusercontent.com/assets/138037/17680162/4058997c-6315-11e6-8546-4a4f7bbdb855.png)