Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputModel ¶
type InputModel struct {
// contains filtered or unexported fields
}
InputModel manages the state for the text input
func InitialInputModel ¶
func InitialInputModel(question string) InputModel
InitialInputModel creates a new input model with the given question
func (InputModel) Init ¶
func (m InputModel) Init() tea.Cmd
func (InputModel) View ¶
func (m InputModel) View() string
type SelectionModel ¶
type SelectionModel struct {
// contains filtered or unexported fields
}
SelectionModel manages the state for the interactive selection
func InitialModel ¶
func InitialModel(question string, choices []string) SelectionModel
InitialModel creates a new selection model with the given options and question
func (SelectionModel) Init ¶
func (m SelectionModel) Init() tea.Cmd
func (SelectionModel) View ¶
func (m SelectionModel) View() string
Click to show internal directories.
Click to hide internal directories.