You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
When prompting for a answer, if the response contains 80+ characters, the previous line in the terminal disappear / is removed
What operating system and terminal are you using?
seen on mac os x with default terminal and vscode terminal
An example that showcases the bug.
package main
import (
"fmt"
"github.com/AlecAivazis/survey/v2"
)
func main() {
fmt.Println("This message should not be removed even if anwser has length >= 80 chars")
var (
r1 string
)
_ = survey.AskOne(&survey.Input{
Message: "Enter a very long response",
}, &r1)
fmt.Println("response: ", r1)
}
What did you expect to see?
$ go run question.go
This message should not be removed even if anwser has length >= 80 chars
? Enter a very long response 01234567890123456789012345678901234567890123456789012345678901234567890123456789
response: 01234567890123456789012345678901234567890123456789012345678901234567890123456789
What did you see instead?
$ go run question.go
? Enter a very long response 01234567890123456789012345678901234567890123456789012345678901234567890123456789
response: 01234567890123456789012345678901234567890123456789012345678901234567890123456789
The text was updated successfully, but these errors were encountered:
When prompting for a answer, if the response contains 80+ characters, the previous line in the terminal disappear / is removed
What operating system and terminal are you using?
seen on mac os x with default terminal and vscode terminal
An example that showcases the bug.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: