From: Jean Privat Date: Fri, 6 Apr 2018 02:04:35 +0000 (-0400) Subject: Merge: console: don't color output when stdout is not a TTY (by default) X-Git-Url: http://nitlanguage.org Merge: console: don't color output when stdout is not a TTY (by default) Change the behavior of the `console` package to ignore color commands like `Text::green` when stdout is not a TTY. You can override this behavior by setting `force_console_colors = true`. I made this change to color the output of nitpm, however, it can be useful to other tools to support stdout redirection by default. Pull-Request: #2626 --- 9660b1025cbca22cd53264229b34abe0cfa78dae