Documentation ¶
Overview ¶
Package ansi can print colored and styled text to your terminal.
Index ¶
Constants ¶
View Source
const ( Black = Col(iota) Red Green Yellow Blue Magenta Cyan White )
defines supported colors
View Source
const ( TReset = Col(iota) TBold TFaint TItalic TUnderline TBlinkSlow TBlinkFast TNegative TConceal TCrossedOut )
defines text styling options
View Source
const ( FgBlack = Col(iota + 30) FgRed FgGreen FgYellow FgBlue FgMagenta FgCyan FgWhite )
Foreground text colors
View Source
const ( BgBlack = Col(iota + 40) BgRed BgGreen BgYellow BgBlue BgMagenta BgCyan BgWhite )
Background text colors
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.