Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Reset = makeColorFunc(resetCode) Red = makeColorFunc(redCode) Green = makeColorFunc(greenCode) Yellow = makeColorFunc(yellowCode) Blue = makeColorFunc(blueCode) Purple = makeColorFunc(purpleCode) Cyan = makeColorFunc(cyanCode) White = makeColorFunc(whiteCode) Gray = makeColorFunc(grayCode) )
Color function; makes a call to makeColorFunc with the associated color code
Functions ¶
func ColorsEnabled ¶ added in v1.1.0
func ColorsEnabled() bool
ColorsEnabled returns current global color setting
func DetectShellColors ¶ added in v1.1.0
func DetectShellColors() bool
DetectShellColors checks if the current shell supports colors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.