Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Choice ¶
type Choice struct {
// contains filtered or unexported fields
}
Choice is a popup that presents a yes/no choice to the user.
func NewChoice ¶
func NewChoice(colors *theme.Colors, bgRaw string, width int, question string, defaultChoice bool) Choice
NewChoice creates a new Choice popup.
type ChoiceResultMsg ¶
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.