This hack simply causes ^C to be ignored completely by the gnome interface.
Gnome really cannot handle interrupts, and the window port interface does
not currently provide a way for the gnome interface to just quit. Allowing
the gnome interface to prompt would require a complete overhall to the the
way window ports work.
Gnome: add Quiver menu item, fix outdated Quit menu item
Gnome: key values on unsigned char platform could fail to compare correctly
Gnome: real extended command menu so all extended commands can be entered
+Gnome: ignore interrupts to avoid infinite loop in gnome library
tty: avoid crash displaying quit inventory if inventory was already displayed
# error HACKDIR is not defined!
#endif
- /* Force wizard mode on for debugging */
- //wizard = TRUE;
-
+ // gnome/gtk is not reentrant
+ set_option_mod_status("ignintr", DISP_IN_GAME);
+ flags.ignintr = TRUE;
+
iflags.window_inited = TRUE;
/* gnome-specific window creation */