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

@@ -246,6 +246,7 @@ struct instance_flags {
boolean invis_goldsym; /* gold symbol is ' '? */
boolean in_lua; /* executing a lua script */
boolean lua_testing; /* doing lua tests */
boolean term_gone; /* terminal is gone, abort abort abort */
boolean nofollowers; /* level change ignores pets (for tutorial) */
boolean partly_eaten_hack; /* extra flag for xname() used when it's called
* indirectly so we can't use xname_flags() */