4 ms·Agreed. It could be as simple as checking if there is a tty and whether or not we're inside a pipe.by kchr 8y agoAgreed. It could be as simple as checking if there is a tty and whether or not we're inside a pipe.