'urgent' messages for curses

Have curses catch up with tty.  Some particular messages override
message suppression after --More-ESC (tty) or >>ESC (curses).
This commit is contained in:
PatR
2021-12-18 11:07:23 -08:00
parent 420d121f93
commit c5544a8011
3 changed files with 10 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ extern char erase_char, kill_char;
/* player can type ESC at More>> prompt to avoid seeing more messages
for the current move; but hero might get more than one move per turn,
so the input routines need to be able to cancel this */
long curs_mesg_suppress_turn = -1;
long curs_mesg_suppress_turn = -1L;
/* Message window routines for curses interface */
@@ -166,7 +166,7 @@ void
curses_got_input(void)
{
/* if messages are being suppressed, reenable them */
curs_mesg_suppress_turn = -1;
curs_mesg_suppress_turn = -1L;
/* misleadingly named; represents number of lines delivered since
player was sure to have had a chance to read them; if player