github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/spotty/README.md (about)

     1  # spotty
     2  
     3  This is a port of [keybase/node-spotty](https://github.com/keybase/node-spotty),
     4  a mechanism to read the current TTY that should work on both Linux and OSX.
     5  
     6  ## THIS MODULE CANNOT BE TESTED!
     7  
     8  Or at least, not with Go's test framework, because Go test
     9  [closes /dev/tty](https://groups.google.com/forum/#!topic/golang-nuts/w6TTJpw9stA).