Documentation ¶ Index ¶ type Control type Model func New() *Model func (m *Model) Init() tea.Cmd func (m *Model) SetValue(val string) func (m *Model) SetWidth(w int) func (m *Model) Update(message tea.Msg) (*Model, tea.Cmd) 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 Control ¶ type Control uint const ( APPLY Control = iota CANCEL ) type Model ¶ type Model struct { Title string Action string // contains filtered or unexported fields } func New ¶ func New() *Model func (*Model) Init ¶ func (m *Model) Init() tea.Cmd func (*Model) SetValue ¶ func (m *Model) SetValue(val string) func (*Model) SetWidth ¶ func (m *Model) SetWidth(w int) func (*Model) Update ¶ func (m *Model) Update(message tea.Msg) (*Model, tea.Cmd) func (*Model) Value ¶ func (m *Model) Value() string func (*Model) View ¶ func (m *Model) View() string Source Files ¶ View all Source files helpKeys.goinput.go Click to show internal directories. Click to hide internal directories.