Windows: don't demand keypress on intentional exit
This commit is contained in:
@@ -518,7 +518,7 @@ nethack_exit(int code)
|
||||
* GUILaunched is defined and set in consoletty.c.
|
||||
*/
|
||||
|
||||
if (getreturn_enabled) {
|
||||
if (getreturn_enabled && !program_state.exiting) {
|
||||
raw_print("\n");
|
||||
if (iflags.window_inited)
|
||||
wait_synch();
|
||||
|
||||
Reference in New Issue
Block a user