survey
survey copied to clipboard
Last line in prompt becomes invisible when a character is typed and then deleted on a previous line
What operating system and terminal are you using?
MacOS 12.4; alacritty (but bug is reproducible in any terminal)
An example that showcases the bug.
This is a bug found in GitHub's CLI that uses the survey library.
See this issue in GitHub's CLI.
- Open new terminal window in a git repo
- Press enter many times until the terminal scrolls down
- Run
gh issue create - Type text in the
Titleprompt until it wraps to a new line at least once - Move the cursor to a previous line before the line wrap
- Type a character and delete it
What did you expect to see?
Text on the last line
What did you see instead?
No text on the last line
This can also be done with go run examples/simple.go (in the repo) instead of using gh.
Mind checking if this is still a problem now that #445 has been merged? I'm unable to reproduce it on the lastest master
I'm going to close this since its gone a bit stale and I can't reproduce it.