Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapedFormat ¶
EscapedFormat returns a strings formated with modes escaped with (mostly for PS1 usage)
func GetEscapedCode ¶
GetEscapedCode returns the needed code escaped (mostly for PS1 usage)
Types ¶
type Mode ¶
type Mode int
Mode type is for defining term modes
const ( TermReset Mode = iota Bold Faint Italic Underline BlinkSlow BlinkRapid ReverseVideo Concealed CrossedOut )
Constans borrowed from github.com/fatih/color Base attributes
Foreground text colors
const ( FgHiBlack Mode = iota + 90 FgHiRed FgHiGreen FgHiYellow FgHiBlue FgHiMagenta FgHiCyan FgHiWhite )
Foreground Hi-Intensity text colors
Background text colors
Click to show internal directories.
Click to hide internal directories.