dcjones / mk

make remade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

call isatty on stdout before colouring output

dpk opened this issue · comments

Sometimes it might be useful to get output from the build command. Colour makes it difficult to parse. Most well-behaved tools (like grep on certain systems) will only colour by default if the output stream is a terminal (see isatty(3) on your favourite Unix).