Make the keys return their inner error, if any.
Make the keys return their inner error, if any. For example, when permission to access the TTY is denied, don't loop infinitely and instead return to the outer scope to error and exit (or not) there.
Edited by AdminXVII