Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotATTY = errors.New("not a terminal")
NotATTY not a TeleTYpewriter error.
Functions ¶
func IsTerminal ¶ added in v5.2.3
IsTerminal returns whether the given file descriptor is a terminal.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a buffered the writer that updates the terminal. The contents of writer will be flushed when Flush is called.
func (*Writer) ReadFrom ¶
ReadFrom reads from the provided io.Reader and writes to the underlying buffer.
Click to show internal directories.
Click to hide internal directories.