Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorIsForced ¶
func ColorIsForced() bool
ColorIsForced returns true if the FORCE_COLOR environment variable is set to a truthy value.
See https://force-color.org/ for more information.
func NonColorRequested ¶
func NonColorRequested() bool
NonColorRequested returns true if the NO_COLOR environment variable is set to a truthy value.
See https://no-color.org/ for more information.
func SupportsColor ¶
func SupportsColor() bool
SupportsColor returns true if the environment supports color output.
See NonColorRequested and ColorIsForced functions for more information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.