If we look at the code located here https://github.com/console-rs/console/blob/master/src/unix_term.rs#L325
you should realize that EINTR can be generated also by other signals than SIGINT.
In my application, if I resize the terminal, a SIGWINCH signal is thrown, but your crate translates that SIGWINCH (which generates an EINTR) to a SIGINT, so you're throwing an unwanted SIGINT to the "outselves", causing my application to brutally exit (since it received a SIGINT).
PLEASE FIX THIS!
If we look at the code located here https://github.com/console-rs/console/blob/master/src/unix_term.rs#L325
you should realize that
EINTRcan be generated also by other signals thanSIGINT.In my application, if I resize the terminal, a
SIGWINCHsignal is thrown, but your crate translates thatSIGWINCH(which generates anEINTR) to aSIGINT, so you're throwing an unwantedSIGINTto the "outselves", causing my application to brutally exit (since it received aSIGINT).PLEASE FIX THIS!