Allow to check a `io.Writer` instead of raw file descriptor
The lib allows checking TTY versus a raw file descriptor. It would be convenient to allow checking of a given `io.Writer` instead.
Related https://github.com/mattn/go-colorable/issues/65
8 条评论