Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore exception and removed trailing nulls (possibly only affects Windows) #3

Merged
merged 1 commit into from
Feb 9, 2020

Conversation

jeffrimko
Copy link
Contributor

Fixes exception when selecting an option before all are finished loading. Remove trailing null character from returned selected option. These changes have only been tested on Windows so they might not affect other OS's.

The "errno.EPIPE == 32" condition is a "broken pipe" which should be ignored in situations where the user makes a selection before the fzf list has finished loading.

…ing. Remove trailing null character from returned selected option. These changes have only been tested on Windows so they might not affect other OS's.
@dahlia dahlia force-pushed the master branch 2 times, most recently from 16bf1b1 to 90bd7a5 Compare August 24, 2019 19:51
@dahlia dahlia force-pushed the master branch 2 times, most recently from 10bc056 to c88aa96 Compare February 9, 2020 12:59
dahlia added a commit that referenced this pull request Feb 9, 2020
Ignore exception and removed trailing nulls (possibly only affects Windows)
@dahlia dahlia merged commit 2aaafac into dahlia:master Feb 9, 2020
@dahlia
Copy link
Owner

dahlia commented Feb 9, 2020

Thanks for your contribution! This patch will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants