Closed x-cray closed 7 years ago
Note that as of 2024, golang.org/x/crypto/ssh/terminal
is deemed to be deprecated, and that one should use golang.org/x/term
instead, which doesn't require all the extra baggage from the Crypto library.
Alternatively, if all you need is the IsTerminal()
function, you may just need to include @mattn's tiny library: https://github.com/mattn/go-isatty — it works well and is used by a trillion Go apps & libs out there, so I guess it's fine to use 😁
Closes #22