From 93e0cb5235c9b56ad411e1271bc25171fd4f193f Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 24 Apr 2018 08:15:36 -0400 Subject: [PATCH] nethackw clear after getlin Alex wrote: in nethackw, getlin clears message window, so any unread messages are scrolled off the screen without "--more--" prompt. If vary_msgcount is set to 1 and "potion shatters", it is not easy to see the effect to name the potion correctly. --- win/win32/mswproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 30b1f5b2b..a1af46ed2 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -1654,7 +1654,7 @@ mswin_getlin(const char *question, char *input) SendMessage(mswin_hwnd_from_winid(WIN_MESSAGE), WM_MSNH_COMMAND, (WPARAM) MSNH_MSG_CARET, (LPARAM) &createcaret); - mswin_clear_nhwindow(WIN_MESSAGE); + /* mswin_clear_nhwindow(WIN_MESSAGE); */ mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, question, 0); mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, " ", 1); #ifdef EDIT_GETLIN -- 2.40.0