Closed razafinarivohanania closed 2 years ago
Hello, i want to use Select with question instead of simple sentence. Like this :
prompt := promptui.Select{ Label: "Do you like blue color ?", Items: []string{"Yes", "No"}, } _, likeBlue, err := prompt.Run() if err != nil { log.Fatalln(err) } fmt.Println(likeBlue)
The problem is that it outputs :
? Do you like blue color ?: ▸ Yes No`
instead of :
? Do you like blue color ? ▸ Yes No
How can i do to overcome this? Thank you in advance :)
Sorry, i don't remarked the "?" at the beginning of label. I close the issue.
Hello, i want to use Select with question instead of simple sentence. Like this :
The problem is that it outputs :
instead of :
How can i do to overcome this? Thank you in advance :)