ui

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PopModel

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

PopModel represents the pop/list command UI

func NewPopModel

func NewPopModel(store *storage.Storage) (PopModel, error)

NewPopModel creates a new pop model

func (PopModel) Init

func (m PopModel) Init() tea.Cmd

Init initializes the model

func (PopModel) Selected

func (m PopModel) Selected() string

Selected returns the selected command

func (PopModel) Update

func (m PopModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles messages

func (PopModel) View

func (m PopModel) View() string

View renders the UI

Jump to

Keyboard shortcuts

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