Documentation
¶
Index ¶
- Constants
- func Clear()
- func ClearTail()
- func Cooked()
- func DisableInvert()
- func Draw(s string)
- func EnableInvert()
- func HideCursor()
- func HomeCursor()
- func LoadCursor()
- func MoveCursor(x, y int)
- func Print(s string)
- func Printf(format string, a ...any) (n int, err error)
- func Raw()
- func SaveCursor()
- func ScrollRange(top, bottom int)
- func ShowCursor()
- func Size() (int, int)
- func StringWidth(s string, col int) int
- type Key
- type KeyKind
Constants ¶
View Source
const RuneBackspace rune = '\b'
View Source
const RuneDelete rune = 0x7f
View Source
const RuneEnter rune = '\r'
View Source
const RuneEscape rune = 0x1b
Variables ¶
This section is empty.
Functions ¶
func DisableInvert ¶
func DisableInvert()
func EnableInvert ¶
func EnableInvert()
func HideCursor ¶
func HideCursor()
func HomeCursor ¶
func HomeCursor()
func LoadCursor ¶
func LoadCursor()
func MoveCursor ¶
func MoveCursor(x, y int)
func SaveCursor ¶
func SaveCursor()
func ScrollRange ¶
func ScrollRange(top, bottom int)
func ShowCursor ¶
func ShowCursor()
func StringWidth ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.