Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputModel ¶
type InputModel struct { Text string // contains filtered or unexported fields }
func NewInputModel ¶
func NewInputModel(ip InputParams) InputModel
func (InputModel) Focus ¶
func (m InputModel) Focus() tea.Cmd
func (InputModel) Init ¶
func (m InputModel) Init() tea.Cmd
func (InputModel) Update ¶
func (m InputModel) Update(msg tea.Msg) (InputModel, tea.Cmd)
func (InputModel) View ¶
func (m InputModel) View() string
type InputParams ¶ added in v1.2.1
type QuestionModel ¶
type QuestionModel struct { Text string // contains filtered or unexported fields }
func NewQuestionModel ¶
func NewQuestionModel(text string) QuestionModel
func (QuestionModel) Focus ¶
func (m QuestionModel) Focus() tea.Cmd
func (QuestionModel) Init ¶
func (m QuestionModel) Init() tea.Cmd
func (QuestionModel) Update ¶
func (m QuestionModel) Update(msg tea.Msg) (QuestionModel, tea.Cmd)
func (QuestionModel) View ¶
func (m QuestionModel) View() string
Click to show internal directories.
Click to hide internal directories.