Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidState = errors.New("Invalid terminal state")
)
Functions ¶
func DisableEcho ¶
func IsTerminal ¶
IsTerminal returns true if the given file descriptor is a terminal.
func RestoreTerminal ¶
Restore restores the terminal connected to the given file descriptor to a previous state.
func SetWinsize ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.