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.
|
* GUILaunched is defined and set in consoletty.c.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (getreturn_enabled) {
|
if (getreturn_enabled && !program_state.exiting) {
|
||||||
raw_print("\n");
|
raw_print("\n");
|
||||||
if (iflags.window_inited)
|
if (iflags.window_inited)
|
||||||
wait_synch();
|
wait_synch();
|
||||||
|
|||||||
Reference in New Issue
Block a user