Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

survey.Multiline The display of the input at the bottom of the terminal is covered #487

Open
Rehtt opened this issue May 25, 2023 · 0 comments
Labels

Comments

@Rehtt
Copy link

Rehtt commented May 25, 2023

What operating system and terminal are you using?
windows11 , powershell
An example that showcases the bug.
code:

	qs := []*survey.Question{
		{
			Name:     "prompt",
			Prompt:   &survey.Multiline{Message: "Enter your query:"},
			Validate: survey.Required,
		},
	}
	var answersStruct struct {
		Prompt string `survey:"prompt"`
	}
	survey.Ask(qs, &answersStruct, survey.WithShowCursor(true))
	fmt.Println(answersStruct)

Imgur
What did you expect to see?

What did you see instead?

@Rehtt Rehtt added the Bug label May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant