]> granicus.if.org Git - nethack/commitdiff
CEmore prompt (from <Someone>)
authornethack.allison <nethack.allison>
Mon, 17 Feb 2003 23:19:01 +0000 (23:19 +0000)
committernethack.allison <nethack.allison>
Mon, 17 Feb 2003 23:19:01 +0000 (23:19 +0000)
Prevent "--more--" prompt from appearing when several
questions being asked in the same loop (like selling
something in the shop

sys/wince/mswproc.c

index 9316ec8cca8ab54b43d5b45ef27c64a701665a1b..d903c602b0022ab30f222aff0fbbffb7e71cce5b 100644 (file)
@@ -1418,6 +1418,12 @@ char mswin_yn_function(const char *question, const char *choices,
                mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, res_ch, 1);
        }
 
+       /* prevent "--more--" prompt from appearing when several 
+          questions being asked in the same loop (like selling 
+          something in the shop)
+          It does not really clears the window - mhmsgwnd.c */
+       mswin_clear_nhwindow(WIN_MESSAGE);
+
 #if defined(WIN_CE_SMARTPHONE)
        NHSPhoneSetKeypadDefault();
 #endif