-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGWINCH generates SIGINT #212
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: