AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 350 forks source link

Fixed behavior of Select when all answers are filtered out #211

Closed AlecAivazis closed 5 years ago

AlecAivazis commented 5 years ago

This PR fixes the behavior of Select to not return an empty string if there is a filter applied that clears the available options.

This PR will have to get merged after #209 and #208 since it's based on a branch where they were merged.

fixes #208

coryb commented 5 years ago

I will review this one after the other 2 prs are merged, it is hard to see what is changing for this PR.

AlecAivazis commented 5 years ago

This branch got a little messed up. I'm going to open another with just the commits that matter