package
2.1.1+incompatible
Repository: https://github.com/rsc/client.git
Documentation: pkg.go.dev

# README

spotty

This is a port of keybase/node-spotty, a mechanism to read the current TTY that should work on both Linux and OSX.

THIS MODULE CANNOT BE TESTED!

Or at least, not with Go's test framework, because Go test closes /dev/tty.

# Functions

Discover which named TTY we have open as FD=0.