Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutocompleteModal ¶
type AutocompleteModal interface { Modal SetScriptExecFunc(func(s *script.ExecutableScript)) }
AutocompleteModal is a modal for autocomplete.
type Cmd ¶
type Cmd struct {
TabStops []*TabStop `parser:"(\"$\" @@)*"`
}
Cmd represents the formatted cmd parsed into tabstops.
func ParseInput ¶
ParseInput parses the user input into a command using an ebnf parser.
type Modal ¶
type Modal interface { Show(a *tview.Application) tview.Primitive Close(a *tview.Application) }
Modal is the interface for a pop-up view.
type TabStop ¶
type TabStop struct { Index *int `parser:"(\"{\" @Ident )"` Label *string `parser:"(\":\" @Ident )?"` HasLabel bool `parser:"@\":\"?"` Value *string `parser:"((@Ident)? \"}\")?"` }
TabStop represents the fields where the user's should go when tabbing.
type View ¶
type View struct {
// contains filtered or unexported fields
}
View is the top level of the Live View.
Click to show internal directories.
Click to hide internal directories.