Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutocompleteView ¶
AutocompleteView is a simple treeview meant for displaying autocomplete choices. The speccial part about this component is, that it can redirect certain events to a different component, as only certain events are treated directly.
func NewAutocompleteView ¶
func NewAutocompleteView() *AutocompleteView
NewAutocompleteView creates a ready-to-use AutocompleteView.
func (*AutocompleteView) InputHandler ¶
func (a *AutocompleteView) InputHandler() tview.InputHandlerFunc
InputHandler returns the handler for this primitive.
func (*AutocompleteView) WrapInputHandler ¶
func (a *AutocompleteView) WrapInputHandler(inputHandler tview.InputHandlerFunc) tview.InputHandlerFunc
WrapInputHandler unlike Box.WrapInputHandler calls the default handler first, as all other shortcuts are meant to be forwarded. However, not all events are handled by the TreeView, as some features aren't desired.
type BottomBar ¶
BottomBar custom simple component to render static information at the bottom of the application.
func NewBottomBar ¶
func NewBottomBar() *BottomBar
NewBottomBar creates a new bar to be put at the bottom aplication. It contains static information and hints.