You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 thanSIGINT
.In my application, if I resize the terminal, a
SIGWINCH
signal is thrown, but your crate translates thatSIGWINCH
(which generates anEINTR
) to aSIGINT
, so you're throwing an unwantedSIGINT
to the "outselves", causing my application to brutally exit (since it received aSIGINT
).PLEASE FIX THIS!
The text was updated successfully, but these errors were encountered: