Open
Description
Citing the SDL Wiki:
On POSIX systems, SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) and SIGTERM (system termination request), if handlers do not already exist, that generate SDL_QUIT events as well. There is no way to determine the cause of an SDL_QUIT event, but setting a signal handler in your application will override the default generation of quit events for that signal.
IMO implicitly installing signal handlers is very bad practice, and there should at least be a convenient way of undoing this in rust-sdl2