Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
294 stars 42 forks source link

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

Closed sleep-walker closed 7 years ago

sleep-walker commented 7 years ago

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

Dushistov commented 7 years ago

@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 d2327e2a0f067cedcda3ad1aba8224129634f1c7 , 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 commented 7 years ago

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