Versions in this module Expand all Collapse all v1 v1.0.0 Nov 20, 2021 Changes in this version + var ErrUserQuit = errors.New("the user manually exited the view") + func List(list QueryableList, maxToDisplay int, vimNavigation bool) (interface{}, error) + type Event struct + type FormattedChunk struct + Length int + Start int + type FormattedContent struct + Content string + Highlights []FormattedChunk + type Key int + const KeyChar + const KeyCtrlA + const KeyCtrlB + const KeyCtrlC + const KeyDelete + const KeyDown + const KeyEnter + const KeyEscape + const KeyUp + type ListItem struct + DisplayFields []FormattedContent + Raw interface{} + type QueryableList interface + Search func(query string) []ListItem + type Tty struct + func NewTty() (*Tty, error) + func (t *Tty) GetKeyboardEvent() (*Event, error) + func (t *Tty) Stop() error