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.
master
Benno Schulenberg 2019-08-10 13:07:04 +02:00
parent 63e04ac31e
commit f7d5a82a5d
1 changed files with 2 additions and 0 deletions

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();