Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutocompleteInputField ¶
type AutocompleteInputField struct {
*tview.InputField
// contains filtered or unexported fields
}
AutocompleteInputField is a custom InputField that displays autocomplete suggestions
func NewAutocompleteInputField ¶
func NewAutocompleteInputField() *AutocompleteInputField
func (*AutocompleteInputField) Draw ¶
func (a *AutocompleteInputField) Draw(screen tcell.Screen)
func (*AutocompleteInputField) SetApplication ¶
func (a *AutocompleteInputField) SetApplication(app *tview.Application)
func (*AutocompleteInputField) SetSuggestion ¶
func (a *AutocompleteInputField) SetSuggestion(text string)
type CommandComponent ¶
type CommandComponent struct {
View *AutocompleteInputField
App common.AppController
// contains filtered or unexported fields
}
func NewCommandComponent ¶
func NewCommandComponent(app common.AppController) *CommandComponent
func (*CommandComponent) Activate ¶
func (c *CommandComponent) Activate(initial string)
func (*CommandComponent) HasFocus ¶
func (c *CommandComponent) HasFocus() bool
func (*CommandComponent) Reset ¶
func (c *CommandComponent) Reset()
func (*CommandComponent) SetFilter ¶
func (c *CommandComponent) SetFilter(filter string)
Click to show internal directories.
Click to hide internal directories.