ui

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialog

type Dialog struct {
	// contains filtered or unexported fields
}

func NewDialog

func NewDialog() *Dialog

func (*Dialog) Init

func (d *Dialog) Init() tea.Cmd

func (*Dialog) Update

func (d *Dialog) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Dialog) View

func (d *Dialog) View() tea.View

type ItemDelegate

type ItemDelegate struct {
	list.DefaultDelegate
}

func NewItemDelegate

func NewItemDelegate() *ItemDelegate

func (*ItemDelegate) Render

func (d *ItemDelegate) Render(w io.Writer, m list.Model, index int, listItem list.Item)
type Menu struct {
	List list.Model
	// contains filtered or unexported fields
}

func NewMenu

func NewMenu(events []*aucoalesce.Event) *Menu
func (m *Menu) Init() tea.Cmd
func (m *Menu) Update(msg tea.Msg) (tea.Model, tea.Cmd)
func (m *Menu) View() tea.View
type MenuItem struct {
	Allow bool
	Event *aucoalesce.Event
}

func NewMenuItem

func NewMenuItem(allow bool, event *aucoalesce.Event) *MenuItem
func (i *MenuItem) Description() string
func (i *MenuItem) FilterValue() string
func (i *MenuItem) Title() string

Jump to

Keyboard shortcuts

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