Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PaintColors ¶
Sets the foreground to `fg` and the background to `bg` and formats the text with Sprintf
Types ¶
type Color ¶
type Color int
const ( Clear Color = 0 // Do not change existing colors White Color = 1 // Also color reset in most clients Black Color = 2 Blue Color = 3 Green Color = 4 LightRed Color = 5 Red Color = 6 Magenta Color = 7 Orange Color = 8 Yellow Color = 9 LightGreen Color = 10 Cyan Color = 11 LightCyan Color = 12 LightBlue Color = 13 LightMagenta Color = 14 Gray Color = 15 LightGray Color = 16 )
Click to show internal directories.
Click to hide internal directories.