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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user