2018-05-15 21:13:11 +00:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package promptui
|
|
|
|
|
2020-09-14 18:31:56 +00:00
|
|
|
// These are the default icons used by promptui for select and prompts. These should not be overridden and instead
|
|
|
|
// customized through the use of custom templates
|
2018-05-15 21:13:11 +00:00
|
|
|
var (
|
2020-09-14 18:31:56 +00:00
|
|
|
// IconInitial is the icon used when starting in prompt mode and the icon next to the label when
|
|
|
|
// starting in select mode.
|
2018-05-15 21:13:11 +00:00
|
|
|
IconInitial = Styler(FGBlue)("?")
|
2020-09-14 18:31:56 +00:00
|
|
|
|
|
|
|
// IconGood is the icon used when a good answer is entered in prompt mode.
|
|
|
|
IconGood = Styler(FGGreen)("✔")
|
|
|
|
|
|
|
|
// IconWarn is the icon used when a good, but potentially invalid answer is entered in prompt mode.
|
|
|
|
IconWarn = Styler(FGYellow)("⚠")
|
|
|
|
|
|
|
|
// IconBad is the icon used when a bad answer is entered in prompt mode.
|
|
|
|
IconBad = Styler(FGRed)("✗")
|
|
|
|
|
|
|
|
// IconSelect is the icon used to identify the currently selected item in select mode.
|
|
|
|
IconSelect = Styler(FGBold)("▸")
|
2018-05-15 21:13:11 +00:00
|
|
|
)
|