Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2026 Changes in this version + func KindLabel(kind string) string + func Lines(lines ...string) func(int) []string + type Ask struct + func NewAsk(qs []interact.Question, reply chan<- interact.Answers) *Ask + func (a *Ask) Key() any + func (a *Ask) Update(msg tea.Msg) (tea.Cmd, bool) + func (a *Ask) View(width, height int) string + func (q *Ask) Queue(behind int) + type Choice struct + Label string + Pick func(checked app.Surface) tea.Cmd + type Consent struct + func NewApproval(key any, title, lead string, items app.Surface, choices []Choice, ...) *Consent + func NewConsent(key any, title, lead string, items, checked app.Surface, choices []Choice, ...) *Consent + func (p *Consent) Key() any + func (p *Consent) Update(msg tea.Msg) (tea.Cmd, bool) + func (p *Consent) View(width, height int) string + func (q *Consent) Queue(behind int) + type Initer interface + Init func() tea.Cmd + type Item struct + Current bool + Detail string + Group string + Title string + Value any + type List struct + Filter bool + Hint string + Items []Item + Keys func(k string, item *Item) (cmd tea.Cmd, handled, done bool) + Reload func() []Item + Select func(Item) tea.Cmd + Title string + func (l *List) Init() tea.Cmd + func (l *List) Update(msg tea.Msg) (tea.Cmd, bool) + func (l *List) View(width, height int) string + type Panel interface + Update func(msg tea.Msg) (cmd tea.Cmd, done bool) + View func(width, height int) string + type Permission struct + func NewPermission(req interact.Approval, reply chan<- interact.Verdict, acceptEdits func()) *Permission + func (p *Permission) Key() any + func (p *Permission) Update(msg tea.Msg) (tea.Cmd, bool) + func (p *Permission) View(width, height int) string + func (q *Permission) Queue(behind int) + type Request interface + Key func() any + Queue func(behind int) + type Tab struct + Body func(width int) []string + Name string + type Text struct + Load func() []Tab + Tabs []Tab + Title string + func (t *Text) Init() tea.Cmd + func (t *Text) Update(msg tea.Msg) (tea.Cmd, bool) + func (t *Text) View(width, height int) string