Documentation
¶
Index ¶
- func Clear()
- func CompressString(input string) (string, map[int]string)
- func DisableEcho()
- func EnableEcho()
- func GetTerminalSize() (int, int)
- func HideCursor()
- func LogicValue(b bool, _if, _else string) string
- func LogicValueInt(b bool, _if, _else int) int
- func NewFrame(width, height int) []string
- func ReadKey() (string, error)
- func RenderLine(frame_, line_ string, x int, fm, lm map[int]string) string
- func RenderOnFrame(c Component, frame *[]string)
- func SetDefaults(p interface{}) interface{}
- func ShowCursor()
- func UseStyle(p interface{})
- type Component
- type ComponentData
- type Screen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableEcho ¶ added in v0.1.5
func DisableEcho()
func EnableEcho ¶ added in v0.1.5
func EnableEcho()
func HideCursor ¶ added in v0.1.0
func HideCursor()
func LogicValue ¶ added in v0.1.0
func LogicValueInt ¶ added in v0.1.0
func RenderLine ¶ added in v0.1.4
func RenderOnFrame ¶
func SetDefaults ¶
func SetDefaults(p interface{}) interface{}
func ShowCursor ¶ added in v0.1.0
func ShowCursor()
Types ¶
type Component ¶
type Component interface { Render() string GetComponentData() *ComponentData Update(string) bool }
type ComponentData ¶
Click to show internal directories.
Click to hide internal directories.