tui

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 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 EditModel

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

func NewEdit

func NewEdit(key db.Key) EditModel

func (EditModel) Init

func (m EditModel) Init() tea.Cmd

func (EditModel) Message

func (m EditModel) Message() string

func (EditModel) Update

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

func (EditModel) View

func (m EditModel) View() string

type PickerModel

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

func NewPicker

func NewPicker(keys []db.Key) PickerModel

func (PickerModel) Aborted

func (m PickerModel) Aborted() bool

func (PickerModel) Init

func (m PickerModel) Init() tea.Cmd

func (PickerModel) Picked

func (m PickerModel) Picked() *db.Key

func (PickerModel) Update

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

func (PickerModel) View

func (m PickerModel) View() string

type SeeModel

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

func NewPeek

func NewPeek(keys []db.Key) SeeModel

func NewSee

func NewSee(keys []db.Key) SeeModel

func (SeeModel) Done

func (m SeeModel) Done() bool

func (SeeModel) EnvExport

func (m SeeModel) EnvExport() bool

func (SeeModel) EnvExportKeys

func (m SeeModel) EnvExportKeys() []db.Key

func (SeeModel) Init

func (m SeeModel) Init() tea.Cmd

func (SeeModel) Message

func (m SeeModel) Message() string

func (SeeModel) Update

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

func (SeeModel) View

func (m SeeModel) View() string

type SelectorModel

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

func NewSelector

func NewSelector(keys []db.Key) SelectorModel

func (SelectorModel) Aborted

func (m SelectorModel) Aborted() bool

func (SelectorModel) Init

func (m SelectorModel) Init() tea.Cmd

func (SelectorModel) SelectedKeys

func (m SelectorModel) SelectedKeys() []db.Key

func (SelectorModel) Update

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

func (SelectorModel) View

func (m SelectorModel) View() string

Jump to

Keyboard shortcuts

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