SYNOPSYS import "clive/cmd/tty" func Cols() (int, error) func IsTTY(f *os.File) bool func Rows() (int, error) DESCRIPTION UNIX tty tools FUNCTIONS func Cols() (int, error) Return cols of the current tty window func IsTTY(f *os.File) bool Return true if f refers to a tty func Rows() (int, error) Return rows of the current tty window
Clive, 2nd ed. User's manual. Section 2