Documentation ¶
Overview ¶
Package terminal includes helper functions for terminal capabilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StdoutSupportsColors ¶
func StdoutSupportsColors() bool
StdoutSupportsColors returns whether stdout supports color output
- If the TERM variable is not set, or set to the "dumb" terminal, no color support is assumed.
- If stdout is not a terminal, color support is disabled
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.