Documentation ¶
Index ¶
- func NewIssuePrompt(m *Model)
- func NewTimeEntryPrompt(m *Model)
- type Model
- func (model *Model) Clear()
- func (model *Model) Down()
- func (model *Model) GetInput() map[string]*textinput.Model
- func (model *Model) GetValues() map[string]string
- func (model *Model) NewPrompt(pane string)
- func (model *Model) SetInputs(inputs map[string]*textinput.Model, order []string)
- func (model *Model) SetKind(kind, action string)
- func (model Model) SubmitSelected() bool
- func (model *Model) Up()
- func (m *Model) Update() tea.Cmd
- func (m *Model) UpdateInputs(msg tea.Msg) tea.Cmd
- func (m Model) View() string
- func (model *Model) WrapIndex()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIssuePrompt ¶
func NewIssuePrompt(m *Model)
func NewTimeEntryPrompt ¶
func NewTimeEntryPrompt(m *Model)
Types ¶
type Model ¶
type Model struct { Style lipgloss.Style Kind string Action string FocusIndex int Inputs map[string]*textinput.Model InputKeys []string CursorMode textinput.CursorMode }
func (Model) SubmitSelected ¶
Click to show internal directories.
Click to hide internal directories.