tui

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(entries []*store.Entry, version string) error

Run starts the TUI

Types

type Model

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

Model is the main TUI model

func New

func New(entries []*store.Entry, version string) (*Model, error)

New creates a new TUI model

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init implements tea.Model

func (*Model) Update

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

Update implements tea.Model

func (*Model) View

func (m *Model) View() string

View implements tea.Model

Jump to

Keyboard shortcuts

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