Documentation ¶
Overview ¶
Package terminal contains helper for the terminal, such as coloring output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminal ¶
IsTerminal return true if the file descriptor is terminal and the TERM environment variable isn't a dumb one.
func PrintANSIColors ¶
PrintANSIColors returns false if NO_COLOR env variable is set, else IsTerminal(f).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.