check for EOF when asking questions
commitc737956a4e4fccca69b76e4ebb86fc9b26557108
authorJoão M. Bezerra <marcospb19@hotmail.com>
Wed, 23 Nov 2022 03:30:35 +0000 (23 00:30 -0300)
committerJoão M. Bezerra <marcospb19@hotmail.com>
Wed, 23 Nov 2022 03:43:53 +0000 (23 00:43 -0300)
tree137024d522da09da96af361dca41bf074e1c0d46
parentf4b029c1fd30028a7e099daa91000f2685044f1b
check for EOF when asking questions

when invoking Ouch from shell scripts, it is likely that questions will
be left unanswered with EOF, this commit fixes Ouch interpreting EOF as
Yes in Y/N questions
src/utils/question.rs
tests/utils.rs