Documentation
¶
Index ¶
Constants ¶
View Source
const JQCheatSheet = `` /* 1426-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ConfigureRows ¶
ConfigureRows returns the rows to display in the Configure window
Types ¶
type Callbacks ¶
type Callbacks struct {
ConfigureRows func() []string
ToggleConfigureRow func(option options.Option)
SaveCurrentFilterToHistory func() (status string, err error)
LoadHistoryEntries func() []string
DeleteHistoryEntryAt func(index int) error
ApplyHistoryEntry func(expr string)
ActiveKeybindings func() []KeybindingEntry
}
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(app *tview.Application, pages *tview.Pages, pageName string, callbacks Callbacks) *Controller
func (*Controller) Close ¶
func (c *Controller) Close()
func (*Controller) HandleInput ¶
func (c *Controller) HandleInput(event *tcell.EventKey) *tcell.EventKey
func (*Controller) IsOpen ¶
func (c *Controller) IsOpen() bool
func (*Controller) Open ¶
func (c *Controller) Open()
func (*Controller) Primitive ¶
func (c *Controller) Primitive() tview.Primitive
type KeybindingEntry ¶
Click to show internal directories.
Click to hide internal directories.