AlecAivazis / survey

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

Let the filter stay active unless deleted #277

Closed siredmar closed 4 years ago

siredmar commented 4 years ago

Hi! Currently i am using a MultiSelect with some filter. I've written my own Filter function. Pretty much is working pretty well, but: Is it possible to let the typed in filter string be active unless deleted by the user?

Scenario: Selecting some of the elements in a MultiSelect that match the input filter Currently this does not work: The user types the filter, selects one element and the filter setting is gone. The user has to type in the same filter again.

siredmar commented 4 years ago

See PR #278

AlecAivazis commented 4 years ago

I'm closing this since your PR has been merged. Thanks again!