Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowsColorOutput ¶
AllowsColorOutput returns true if the specified writer is a terminal and the process environment indicates color output is supported and desired.
func EscapeTerminal ¶
EscapeTerminal escapes terminal special characters in a human readable (but non-reversible) format.
func IsTerminal ¶
func IsTerminal(i interface{}) bool
IsTerminal returns whether the passed object is a terminal or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.