Documentation ¶
Index ¶
- type Model
- func (m *Model) Blur()
- func (m *Model) Focus() tea.Cmd
- func (m *Model) Reset()
- func (m *Model) SetHeight(height int)
- func (m *Model) SetPrompt(prompt string)
- func (m *Model) SetValue(s string)
- func (m *Model) SetWidth(width int)
- 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.