Allow to check a `io.Reader` 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.Reader` instead, as pointed out by @dolmen in https://github.com/mattn/go-isatty/issues/80#issuecomment-1469652804
2 条评论