Documentation
¶
Overview ¶
Package command provides the command input component for the TUI.
Index ¶
- type Mode
- type Model
- func (m *Model) Hide()
- func (m Model) Init() tea.Cmd
- func (m Model) IsActive() bool
- func (m Model) Mode() Mode
- func (m *Model) SetMode(mode Mode)
- func (m *Model) SetStyles(styles *theme.Styles)
- func (m *Model) SetWidth(width int)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) Value() string
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the command input component.
func (*Model) SetStyles ¶ added in v0.5.0
SetStyles updates the component's styles (for runtime theme changes).
Click to show internal directories.
Click to hide internal directories.