]> granicus.if.org Git - nethack/commitdiff
more PR #891 - build fix
authorPatR <rankin@nethack.org>
Tue, 4 Oct 2022 22:21:04 +0000 (15:21 -0700)
committerPatR <rankin@nethack.org>
Tue, 4 Oct 2022 22:21:04 +0000 (15:21 -0700)
More tty-specific hangup handling.  There's still doubt about the
origiinal testing, but not about testing after "post bitrot repair",
if there was any.  That wasn't useful because the new code was
accidentally suppressed by testing a misspelled macro. when deciding
whether to include it.

win/tty/wintty.c

index 18933fea1d6a7ab662844cf58678f8d10f8008b6..18406ea0af550e7f941fa039aa02032c8d4b2040 100644 (file)
@@ -3421,7 +3421,7 @@ tty_select_menu(winid window, int how, menu_item **menu_list)
 char
 tty_message_menu(char let, int how, const char *mesg)
 {
-    HUPSKIP();
+    HUPSKIP_RESULT('\033');
     /* "menu" without selection; use ordinary pline, no more() */
     if (how == PICK_NONE) {
         pline("%s", mesg);