overlay

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const JQCheatSheet = `` /* 1426-byte string literal not displayed */

Variables

This section is empty.

Functions

func ConfigureRows

func ConfigureRows(opts options.Options) []string

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

type KeybindingEntry struct {
	Action     string
	Keybinding string
}

Jump to

Keyboard shortcuts

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