geier / choose

make choices on the command line
MIT License
89 stars 2 forks source link

Filtering broken? #3

Open luckman212 opened 8 years ago

luckman212 commented 8 years ago

Am I just "doing it wrong" or is filtering broken on MacOS X? When I try e.g.

echo -e 'apple\npear\ngrape\nbanana' | choose

and then type 'ap' to filter to apple & grape, it correctly filters those.

BUT, if I backspace and change 'ap' to 'an' - instead of showing 'banana' it shows nothing and I have to CTRL+C to quit out.

geier commented 8 years ago

You are doing it right, deleting is just not implemented yet.

Am 29. Juni 2016 05:09:27 MESZ, schrieb lukehamburg notifications@github.com:

Am I just "doing it wrong" or is filtering broken on MacOS X? When I try e.g.

echo -e 'apple\npear\ngrape\nbanana' | choose

and then type 'ap' to filter to apple & grape, it correctly filters those.

BUT, if I backspace and change 'ap' to 'an' - instead of showing 'banana' it shows nothing and I have to CTRL+C to quit out.


You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geier/choose/issues/3

Sent from my phone. Please excuse my brevity.

luckman212 commented 8 years ago

Ah ok thank you. That would be a nice feature to have (if you are accepting suggestions)

geier commented 8 years ago

noted (and I do take suggestions). I just wanted to be clever and therefore weed out any non matching lines and don't keep them saved. If I find the time it should be done rather quickly.