avoid crash upon exit under Windows with curses
This commit is contained in:
@@ -495,7 +495,8 @@ nethack_exit(int code)
|
|||||||
#endif
|
#endif
|
||||||
if (getreturn_enabled) {
|
if (getreturn_enabled) {
|
||||||
raw_print("\n");
|
raw_print("\n");
|
||||||
wait_synch();
|
if (iflags.window_inited)
|
||||||
|
wait_synch();
|
||||||
}
|
}
|
||||||
exit(code);
|
exit(code);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user