Documentation ¶
Index ¶
- Constants
- func Blue(s string) string
- func Gray(s string) string
- func Green(s string) string
- func LightGreen(s string) string
- func Move(n int, direction direction) string
- func Purple(s string) string
- func Red(s string) string
- func RedBackground(s string) string
- func SetPosition(x, y int) string
- func StyleFormat(s string, styles ...Style) string
- func Yellow(s string) string
- type Style
Constants ¶
View Source
const ( DirectionUp direction = "A" DirectionDown direction = "B" DirectionRight direction = "C" DirectionLeft direction = "D" )
View Source
const ( OperationSave operation = "s" OperationRestore operation = "u" OperationClear operation = "2J" OperationClearLineTail operation = "K" OperationHide operation = "?25l" OperationDisplay operation = "?25h" )
Variables ¶
This section is empty.
Functions ¶
func LightGreen ¶
func RedBackground ¶
func SetPosition ¶ added in v1.0.6
func StyleFormat ¶ added in v1.0.6
Types ¶
Click to show internal directories.
Click to hide internal directories.