Documentation ¶
Index ¶
- type Model
- func (m *Model) Blur()
- func (m *Model) Focus() tea.Cmd
- func (m Model) Init() tea.Cmd
- func (m *Model) Reset()
- func (m *Model) SetPrompt(prompt string)
- func (m *Model) SetValue(value string)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) UpdateProgramContext(ctx *context.ProgramContext)
- 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
}
func NewModel ¶
func NewModel(ctx *context.ProgramContext) Model
func (*Model) UpdateProgramContext ¶
func (m *Model) UpdateProgramContext(ctx *context.ProgramContext)
Click to show internal directories.
Click to hide internal directories.