Restoring a game can return to the wishing prompt

In TTY or curses, if the terminal goes away while you're in the wishing
prompt, return to the prompt when the game is restored.

Breaks saves.
This commit is contained in:
Pasi Kallinen
2025-07-12 18:21:09 +03:00
parent 65774372e6
commit e240efa10b
11 changed files with 28 additions and 2 deletions

View File

@@ -161,6 +161,7 @@ struct context_info {
boolean mv;
boolean bypasses; /* bypass flag is set on at least one fobj */
boolean door_opened; /* set to true if door was opened during test_move */
boolean resume_wish; /* game was exited while in wish prompt */
boolean tips[NUM_TIPS];
struct dig_info digging;
struct victual_info victual;