Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Choice ¶ added in v1.3.0
type Choice struct {
// contains filtered or unexported fields
}
Choice is a popup that presents a yes/no choice to the user.
func NewChoice ¶ added in v1.3.0
func NewChoice(colors colorscheme.Colorscheme, bgRaw string, width int, question string, defaultChoice bool) Choice
NewChoice creates a new Choice popup.
type ChoiceResultMsg ¶ added in v1.3.0
type ChoiceResultMsg struct {
Result bool
}
ChoiceResultMsg is the message sent when a choice is made.
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
Default is a default popup window.
Click to show internal directories.
Click to hide internal directories.