Closed jonas-schievink closed 8 years ago
@jonas-schievink Hello ! Thanks for the suggestion. You are 100% right. What would be a good, descriptive, error message for Ctrl+D ? This basically happens anytime there is not enough input, so maybe UnexpectedEof would be OK ?
Yes, that sounds good!
@jonas-schievink Awesome, thanks again ! Just pushed a commit that fixes that. I've bumped the minor version number as this is a breaking change.
When aborting password entry with Ctrl+D (on Linux, but I'd imagine it's the same on OS X),
read_password
returns an error that reads "oh no!". It should probably return a more descriptive error.