Commit af177ee
committed
Fix TTY colors
The change from #13 actually
disabled coloring when output device is a TTY device.
Excerpt from BSD manual for `isatty`:
```
RETURN VALUES
The isatty() function returns 1 if fd refers to a terminal type
device; otherwise, it returns 0 and may set errno to indicate the
error.
```
Double negative is hard. 🤦♀️
Anyways.1 parent d493bd7 commit af177ee
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments