package
0.0.0-20240107083334-17e188347918
Repository: https://github.com/lianglei-git/go-es6.git
Documentation: pkg.go.dev
# Functions
Black is a convenient helper function to print with black foreground.
BlackString is a convenient helper function to return a string with black foreground.
Blue is a convenient helper function to print with blue foreground.
BlueString is a convenient helper function to return a string with blue foreground.
New returns a newly created color object.
Cyan is a convenient helper function to print with cyan foreground.
CyanString is a convenient helper function to return a string with cyan foreground.
EnableColorsStdout enable colors if possible.
Green is a convenient helper function to print with green foreground.
GreenString is a convenient helper function to return a string with green foreground.
HiBlack is a convenient helper function to print with hi-intensity black foreground.
HiBlackString is a convenient helper function to return a string with hi-intensity black foreground.
HiBlue is a convenient helper function to print with hi-intensity blue foreground.
HiBlueString is a convenient helper function to return a string with hi-intensity blue foreground.
HiCyan is a convenient helper function to print with hi-intensity cyan foreground.
HiCyanString is a convenient helper function to return a string with hi-intensity cyan foreground.
HiGreen is a convenient helper function to print with hi-intensity green foreground.
HiGreenString is a convenient helper function to return a string with hi-intensity green foreground.
HiMagenta is a convenient helper function to print with hi-intensity magenta foreground.
HiMagentaString is a convenient helper function to return a string with hi-intensity magenta foreground.
HiRed is a convenient helper function to print with hi-intensity red foreground.
HiRedString is a convenient helper function to return a string with hi-intensity red foreground.
HiWhite is a convenient helper function to print with hi-intensity white foreground.
HiWhiteString is a convenient helper function to return a string with hi-intensity white foreground.
HiYellow is a convenient helper function to print with hi-intensity yellow foreground.
HiYellowString is a convenient helper function to return a string with hi-intensity yellow foreground.
IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 terminal.
No description provided by the author
Magenta is a convenient helper function to print with magenta foreground.
MagentaString is a convenient helper function to return a string with magenta foreground.
NewColorable returns new instance of Writer which handles escape sequence.
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
Red is a convenient helper function to print with red foreground.
RedString is a convenient helper function to return a string with red foreground.
Set sets the given parameters immediately.
Unset resets all escape attributes and clears the output.
White is a convenient helper function to print with white foreground.
WhiteString is a convenient helper function to return a string with white foreground.
Yellow is a convenient helper function to print with yellow foreground.
YellowString is a convenient helper function to return a string with yellow foreground.
# Constants
Background text colors.
Background text colors.
Background text colors.
Background text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background Hi-Intensity text colors.
Background text colors.
Background text colors.
Background text colors.
Background text colors.
Base attributes.
Base attributes.
Base attributes.
Base attributes.
Base attributes.
Base attributes.
Foreground text colors.
Foreground text colors.
Foreground text colors.
Foreground text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground Hi-Intensity text colors.
Foreground text colors.
Foreground text colors.
Foreground text colors.
Foreground text colors.
Base attributes.
Base attributes.
Base attributes.
Base attributes.
# Type aliases
Attribute defines a single SGR Code.