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
When prompted to make a select, make any selection from the fuzzy menu
When prompted to enter text, type any text
Hit enter.
Type some more text.
Hit enter again.
Expected behavior
You should never be able to make it to step 6/7; when you enter text at the prompt and hit enter, that text should be captured by ReadString. Instead, something seems to be interacting between Fuzzyfinder and STDIN, that causes the first text and newline to be swallowed.
Screenshots
Environment
OS: MacOS (tested on Catalina and Mojave)
Terminal: iTerm and native OSX Terminal, bash and zsh
go-fuzzyfinder version: v0.2.0
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue.
Just you said, it is caused by gdamore/tcell's bug reported at gdamore/tcell#194 because the issue doesn't happen when using nsf/termbox-go.
One way to avoid the issue is to reverting #8 temporarily. We don't add any features depend on gdamore/tcell, so I think we can replace it without any side-effects.
Describe the bug
To reproduce
go run main.go
Expected behavior
You should never be able to make it to step 6/7; when you enter text at the prompt and hit enter, that text should be captured by ReadString. Instead, something seems to be interacting between Fuzzyfinder and STDIN, that causes the first text and newline to be swallowed.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: