Just gives the user a Yes or No prompt.
type YesNoMenu struct {
Title string // The Title
Description string // The Description
Separatorstyle string // Changes the separator between the number and the option title (default: >)
}
How to create:
// You don't need to add anything to make it
yesno := cmenu.YesNoMenu{}
getoption := yesno.Show()
if statement:
if getoption == "y" {
println("selected yes")
} else {
println("selected no")
}