SIGWINCH generates SIGINT
rendarz opened this issue · 0 comments
rendarz commented
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!