Documentation
¶
Overview ¶
Package palette provides a command palette overlay for the TUI. Triggered by "/" in the input bar, it shows a fuzzy-filtered list of commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Name string // Display name (e.g. "New Conversation")
Handler func() tea.Cmd // What to do when selected (leaf commands)
Children []Command // Sub-commands (selecting drills down)
}
Command is a single palette entry. If Children is set, selecting this command drills into the sub-commands instead of executing Handler.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the command palette.
Click to show internal directories.
Click to hide internal directories.