From accb645d3f5d3929e5a69cf1b7015724cadfbbdd Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 14 Sep 2020 11:15:00 +0200 Subject: [PATCH] browser: wipe the status bar before searching again with M-W or M-Q In this way, 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/?59109. --- src/browser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser.c b/src/browser.c index 5f77bf94..c1fb7539 100644 --- a/src/browser.c +++ b/src/browser.c @@ -375,8 +375,10 @@ void research_filename(bool forwards) if (*last_search == '\0') statusbar(_("No current search pattern")); - else + else { + wipe_statusbar(); findfile(last_search, forwards); + } } /* Strip one element from the end of path, and return the stripped path.