Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Cursor interface { MoveCursorUp(lines int) MoveCursorDown(lines int) MoveCursorLeft(columns int) MoveCursorRight(columns int) MoveCursorToStartOfLine() HideCursor() ShowCursor() }
Cursor is a base component for UX components that require cursor manipulation.
type Input ¶
Input is a base component for UX components that require user input.
func (*Input) ReadInput ¶
func (i *Input) ReadInput(config *InputConfig) (<-chan InputEventArgs, func(), error)
ReadInput reads user input from the keyboard.
type InputConfig ¶
Click to show internal directories.
Click to hide internal directories.