Documentation
¶
Index ¶
- func GetSuggestionsCmd() tea.Cmd
- func ObserverCmd(msg ObserverMsg) tea.Cmd
- type Focus
- type Model
- func (m *Model) GetSize() (int, int)
- func (m *Model) Help() dialog.HelpEntry
- func (m *Model) Init() tea.Cmd
- func (m *Model) Overlay() helpers.UseOverlay
- func (m *Model) SetFocus(focus Focus)
- func (m *Model) SetWidth(width int)
- func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *Model) View() string
- func (m *Model) WithObserver(observer Observing) *Model
- func (m *Model) WithTitle(title string, pos viewport.TitlePos) *Model
- func (m *Model) WithViewAs(as ViewAs) *Model
- type ObserverMsg
- type Observing
- type SuggestionsMsg
- type ViewAs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSuggestionsCmd ¶
GetSuggestionsCmd is triggered when the panel is requesting suggestions
func ObserverCmd ¶
func ObserverCmd(msg ObserverMsg) tea.Cmd
CreateOutputCmd wraps the CreateOutputMsg values
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) Overlay ¶
func (m *Model) Overlay() helpers.UseOverlay
func (*Model) WithObserver ¶
func (*Model) WithViewAs ¶
type ObserverMsg ¶
CreateOutputMsg contains the values from the text input fields wrapped in a tea message
Click to show internal directories.
Click to hide internal directories.