Documentation
¶
Overview ¶
Package help renders the full-screen keybinding help overlay.
The layout is a responsive grid: on wide terminals the category groups flow into two columns side-by-side; on narrow terminals they stack into a single column. Each row renders the keybinding as a chip on the left and the action name to its right — reading order matches how a user actually thinks ("what does ^p do?" → scan keys, not names).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseHelpMsg ¶
type CloseHelpMsg struct{}
CloseHelpMsg is emitted when the help overlay is dismissed.
type Model ¶
type Model struct {
Width int
Height int
Theme *theme.Theme
// contains filtered or unexported fields
}
Model is the Bubbletea model for the keybinding help overlay.
func (*Model) Open ¶
func (m *Model) Open()
Open builds the help content from the registry and resets the viewport to the top.
Click to show internal directories.
Click to hide internal directories.