Documentation
¶
Index ¶
- Variables
- func Bg4(col int) string
- func Bg8(col int) string
- func ClearLine(opt int) string
- func Fg4(col int) string
- func Fg8(col int) string
- func GetTermColorBits() int
- func GetUseColor() bool
- func GetUseTerminal() bool
- func GetWidth() int
- func Move(c Cursor, n int) string
- func Move1(c Cursor) string
- func Printline(text ...interface{})
- func Write(text ...interface{})
- type Cursor
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Reset = "\033[0m" Bold = "\033[01m" Disable = "\033[02m" Underline = "\033[04m" Reverse = "\033[07m" Strikethrough = "\033[09m" Invisible = "\033[08m" SaveCursor = "\033[s" RestoreCursor = "\033[u" )
Functions ¶
func GetTermColorBits ¶ added in v1.4.0
func GetTermColorBits() int
func GetUseColor ¶ added in v1.2.0
func GetUseColor() bool
func GetUseTerminal ¶ added in v1.2.0
func GetUseTerminal() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.