Closed syxolk closed 7 years ago
Thanks for the PR! Unfortunately, I decided to close it.
Why:
termcolor
, but not for term-painter
term-painter
configurable (auto colour on or off depending on whether we're writing to stdout
or piping into something different)Instead, I think it would be better to have no feature instead of a badly implemented feature and to remove colours altogether. Could you please make a PR based on your no-colors
branch?
For better Windows-compatibility, we should use term_painter instead of ansi_term. It works for Linux terminals, Windows PowerShell and Windows Command Prompt.
term_painter
is also largely api-compatible withansi_term
so no actual code changes were made in this PR.Working towards #17
I've also tested termcolor but its API is pretty verbose and it seems to have issues with rayon's multithreading (it panics).