3 ms·
Programs should disable terminal color codes when the output is not a terminal. Arguably, this is already an established best practice.
by amscanne 5y ago
Programs should disable terminal color codes when the output is not a terminal. Arguably, this is already an established best practice.
- gary_0 5y agoIf checking isatty() wasn't an established practice, pipes would be pretty useless.