Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Content ¶
type Content interface {
Init() tea.Cmd
Update(msg tea.Msg) (Content, tea.Cmd)
View() string
SetSize(width, height int) Content
Help() []key.Binding
}
Content describes UI elements that can be displayed inside a dialog.
type DisplayMode ¶
type DisplayMode byte
const ( CenterDisplayMode DisplayMode = iota FullScreenDisplayMode )
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) OnCloseCmd ¶
Click to show internal directories.
Click to hide internal directories.