|
|
|
|
|
by sudahtigabulan
250 days ago
|
|
> Though most of the software do the right thing by checking if the standard output is an actual tty (isatty) to avoid colors when redirecting to something else (e.g. socket, fifo, etc). NO_COLOR is orthogonal to the isatty suppression. NO_COLOR ensures that colors are off even when stdout is not redirected. For example, when you have poor vision, poor quality display, or sit near a window, (or worse – a combination of these) the colored parts of the output might have lower contrast, low enough to make them impossible to read. |
|