dahlia / iterfzf

Pythonic interface to fzf, a CLI fuzzy finder
https://pypi.python.org/pypi/iterfzf
GNU General Public License v3.0
164 stars 19 forks source link

Print query #1

Closed georgek closed 7 years ago

georgek commented 7 years ago

Adding option to print query. Useful for when the user is allowed to type something that isn't on the list and you want to get it back.

dahlia commented 7 years ago

The build was failed because pip does not support Python 2.6 anymore. Nevermind on that.

Thanks for your contribution. I will merge this after I make some adjustments (e.g. changelog) on this.

georgek commented 7 years ago

There was a problem when no match was found. fzf returns 1 as defined here: https://github.com/junegunn/fzf/blob/ee40212e9772941b49a4bdb1e95f99913cdea469/src/constants.go#L79