Documentation ¶ Index ¶ type Prompt func NewPrompt(title string, placeholder ...string) *Prompt func (p *Prompt) Answer() (result string, err error) func (p *Prompt) Init() tea.Cmd func (p *Prompt) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (p *Prompt) View() string func (p *Prompt) YesOrNo() (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Prompt ¶ type Prompt struct { // contains filtered or unexported fields } func NewPrompt ¶ func NewPrompt(title string, placeholder ...string) *Prompt func (*Prompt) Answer ¶ func (p *Prompt) Answer() (result string, err error) func (*Prompt) Init ¶ func (p *Prompt) Init() tea.Cmd func (*Prompt) Update ¶ func (p *Prompt) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (*Prompt) View ¶ func (p *Prompt) View() string func (*Prompt) YesOrNo ¶ func (p *Prompt) YesOrNo() (bool, error) Source Files ¶ View all Source files prompt.go Click to show internal directories. Click to hide internal directories.