Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IsTerminalIn = IsTerminal(os.Stdin) IsTerminalOut = IsTerminal(os.Stdout) )
View Source
var ErrNotAttached = errors.New("stdin and stdout must be attached to the foreground terminal")
Functions ¶
func IsTerminal ¶
IsTerminal returns whether the passed object is a terminal or not.
func RestoreAll ¶
func RestoreAll()
Types ¶
Click to show internal directories.
Click to hide internal directories.