manifoldco/promptui

Using a `\n` in the label of a select seems to break the output.

zlesnr opened this issue · 1 comments

prompt := promptui.Select{
		Label: fmt.Sprintf("a\nquestion"),
		Items: []string{"Yes", "No"},
}
_, result, err := prompt.Run()

It appears that the label message gets mangled if the label contains a newline character.

I am having the same issue