command

package
v0.49.100 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL