Documentation ¶
Index ¶
- func Clear()
- func GetInt(prompt string) int
- func GetMenu(title string, text string, items ...string) string
- func GetPassword(prompt string) string
- func GetString(prompt string) string
- func PrintBoxed(s string, args ...interface{})
- func PrintHLine()
- func PrintString(s string, args ...interface{})
- func PrintText(s string, args ...interface{})
- func PrintTextWithPrefix(prefix, s string, args ...interface{})
- func Start()
- func Stop()
- func WindowSize() (w, h int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPassword ¶
func PrintBoxed ¶
func PrintBoxed(s string, args ...interface{})
Prints a box around text followed by a newline.
func PrintHLine ¶
func PrintHLine()
PrintHLine prints a line across the screen followed by a newline.
func PrintString ¶
func PrintString(s string, args ...interface{})
Print a string to the terminal followed by a newline. No wrapping.
func PrintTextWithPrefix ¶
func PrintTextWithPrefix(prefix, s string, args ...interface{})
Format and wrap text, print to screen with given prefix on each wrapped line.
func WindowSize ¶
func WindowSize() (w, h int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.