Documentation ¶
Index ¶
Constants ¶
View Source
const ESC = 27
ESC is the ASCII code for escape character
Variables ¶
View Source
var NotATTY = errors.New("not a terminal")
Functions ¶
This section is empty.
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.