search: wipe the status bar before searching again (M-W / M-Q)

So that any message that is on the status bar after the search
will be a response to this search and not some leftover.

This fixes https://savannah.gnu.org/bugs/?56737.
This commit is contained in:
Benno Schulenberg 2019-08-10 13:07:04 +02:00
parent 63e04ac31e
commit f7d5a82a5d

View File

@ -359,6 +359,8 @@ void do_research(void)
/* Use the search-menu key bindings, to allow cancelling. */
currmenu = MWHEREIS;
wipe_statusbar();
go_looking();
tidy_up_after_search();