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

end on empty choice, allow end of input stream with ^D #24

Closed
wants to merge 1 commit into from

Conversation

sleep-walker
Copy link
Contributor

use empty choice to abort, it implies that ^D also works which is natural for console tools

@Dushistov
Copy link
Owner

Dushistov commented Jul 27, 2017

@sleep-walker

It is good to have, but it change behaviour,
if somebody use it in interactive mode it may break things.

Do you read comment to this d2327e2 ,
I suppose with ~/.intputrc you can change sdcv behaviour as you want,
without any code modification?

If it is not enought for you, then may be introduce some environment variable
to save old behaviour?

@sleep-walker
Copy link
Contributor Author

Thanks for the tip - ~/.inputrc configuration works as workaround for my problem nicely enough.

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