1
1

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.
Этот коммит содержится в:
Benno Schulenberg 2020-09-14 11:15:00 +02:00
родитель 620496f5cd
Коммит accb645d3f

Просмотреть файл

@ -375,8 +375,10 @@ void research_filename(bool forwards)
if (*last_search == '\0') if (*last_search == '\0')
statusbar(_("No current search pattern")); statusbar(_("No current search pattern"));
else else {
wipe_statusbar();
findfile(last_search, forwards); findfile(last_search, forwards);
}
} }
/* Strip one element from the end of path, and return the stripped path. /* Strip one element from the end of path, and return the stripped path.