Documentation
¶
Index ¶
- func Blue(msg string) string
- func BoldOff()
- func BoldOn()
- func ClearLine()
- func ClearScreen()
- func Confirm(raw Raw, prompt string) (value bool)
- func Cyan(msg string) string
- func Dim(msg string) string
- func Green(msg string) string
- func HideCursor()
- func Input(raw Raw, prompt string, defaultValue string) (value string)
- func Magenta(msg string) string
- func MoveCursorDown(n int)
- func MoveCursorLeft(n int)
- func MoveCursorRight(n int)
- func MoveCursorTo(x, y int)
- func MoveCursorUp(n int)
- func Red(msg string) string
- func RestoreCursor()
- func SaveCursor()
- func Select(raw Raw, prompt string, items []string) (selected string)
- func ShowCursor()
- func UnderlineOff()
- func UnderlineOn()
- func Yellow(msg string) string
- type Raw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearScreen ¶
func ClearScreen()
func HideCursor ¶
func HideCursor()
func MoveCursorDown ¶
func MoveCursorDown(n int)
func MoveCursorLeft ¶
func MoveCursorLeft(n int)
func MoveCursorRight ¶
func MoveCursorRight(n int)
func MoveCursorTo ¶ added in v0.8.1
func MoveCursorTo(x, y int)
func MoveCursorUp ¶
func MoveCursorUp(n int)
func RestoreCursor ¶ added in v0.8.1
func RestoreCursor()
func SaveCursor ¶ added in v0.8.1
func SaveCursor()
func ShowCursor ¶
func ShowCursor()
func UnderlineOff ¶
func UnderlineOff()
func UnderlineOn ¶
func UnderlineOn()
Types ¶
Click to show internal directories.
Click to hide internal directories.