Versions in this module Expand all Collapse all v0 v0.1.0 Jul 16, 2026 Changes in this version + const CAcc + const CBord + const CClaSoft + const CDim + const CEmpty + const CGptSoft + const CGreen + const CGrp + const CHead + const CRed + const CSelBg + const GBroken + const GMemory + const GReset + const GToggleOff + const GToggleOn + const GWarn + var MeterRamp = [6]string + var StBrk = lipgloss.NewStyle().Foreground(lipgloss.Color(CRed)) + var StDim = lipgloss.NewStyle().Foreground(lipgloss.Color(CDim)) + var StGrp = lipgloss.NewStyle().Foreground(lipgloss.Color(CGrp)) + var StHead = lipgloss.NewStyle().Foreground(lipgloss.Color(CHead)) + var StOk = lipgloss.NewStyle().Foreground(lipgloss.Color(CGreen)) + var StStruck = lipgloss.NewStyle().Strikethrough(true).Faint(true).Foreground(lipgloss.Color(CDim)) + var StWarn = lipgloss.NewStyle().Foreground(lipgloss.Color(CAcc)) + func ClipLines(content string, width int) string + func Meter(label, glyph, fill string, n int) string + func NewHelp() help.Model + func Pad(s string, n int) string + func PadLeft(s string, n int) string + func Panel(width int, content string) string + func PanelContentWidth(width int) int + func Rule(width int) string + func Run(app App, opts ...RunOption) (tea.Model, error) + func Scrollbar(total, h, start int) string + func SeparatedSections(width int, sections ...string) string + func WindowList(lines []string, cursor, h, w int) string + func WrapHelp(h help.Model, width int, items []HelpItem) string + type Action struct + Key string + Value string + func ParseActions(output string) ([]Action, error) + type ActionsConfirmedMsg struct + Prompt string + type ActionsProposedMsg struct + Actions []Action + type ActionsRevertedMsg struct + type App interface + type AppliedActionsMsg struct + Actions []Action + type Askable interface + Asker func() Asker + type Asker interface + Ask func(ctx context.Context, prompt string) (<-chan string, error) + type BoxCloseMsg struct + type Commandable interface + Commander func() Commander + type Commander interface + Parse func(output string) ([]Action, error) + Propose func(ctx context.Context, prompt string) (<-chan string, error) + type DocCorpus string + type Documented interface + Docs func() DocCorpus + type HelpItem struct + Description string + Key string + type Loadable interface + Load func(ctx context.Context) error + Loaded func(ctx context.Context) (bool, error) + Unload func(ctx context.Context) error + type MessageFilter func(tea.Model, tea.Msg) tea.Msg + type PromptBox struct + func NewPromptBox() PromptBox + func (b *PromptBox) Focus() tea.Cmd + func (b *PromptBox) SetAsker(a Asker) + func (b *PromptBox) SetCommander(c Commander) + func (b *PromptBox) SetSize(w, maxH int) + func (b *PromptBox) SetTitle(s string) + func (b PromptBox) Busy() bool + func (b PromptBox) Init() tea.Cmd + func (b PromptBox) Update(msg tea.Msg) (PromptBox, tea.Cmd) + func (b PromptBox) View() string + type RunOption func(*host) + func WithAltScreen() RunOption + func WithMessageFilter(filter MessageFilter) RunOption + func WithMouseCellMotion() RunOption + func WithToggleKey(k string) RunOption + type WorkspaceID string + type WorkspaceItem struct + ID WorkspaceID + Label string + Shortcut string + type WorkspaceNav struct + func NewWorkspaceNav(items ...WorkspaceItem) WorkspaceNav + func (n *WorkspaceNav) Next() WorkspaceID + func (n *WorkspaceNav) Previous() WorkspaceID + func (n *WorkspaceNav) Select(id WorkspaceID) bool + func (n WorkspaceNav) Active() WorkspaceID + func (n WorkspaceNav) ActiveItem() (WorkspaceItem, bool) + func (n WorkspaceNav) Items() []WorkspaceItem