Documentation
¶
Index ¶
- type Kind
- type Model
- func (m Model) BoxSize(screenWidth, screenHeight int) (int, int)
- func (m *Model) Close()
- func (m Model) Done() bool
- func (m Model) GetResult() Result
- func (m *Model) SetProgress(progress float64, current string)
- func (m *Model) Update(msg tea.KeyMsg) tea.Cmd
- func (m Model) View(th theme.Theme, screenWidth, screenHeight int) string
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents a modal dialog overlaid on the panels.
func NewConfirm ¶
NewConfirm creates a Yes/No confirmation dialog.
func NewInputWithBase ¶
func (*Model) Close ¶
func (m *Model) Close()
Close dismisses the dialog (used for progress dialogs when the operation ends).
func (*Model) SetProgress ¶
SetProgress updates the progress dialog state.
Click to show internal directories.
Click to hide internal directories.