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(text string) 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 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.