search: wipe reassuring feedback as soon as searching has finished

When there are no help lines, there won't be any call to update the
actual contents of the bottom window, so... do it immediately after
blanking the row.

This fixes https://savannah.gnu.org/bugs/?52377.
This commit is contained in:
Benno Schulenberg 2017-11-13 19:22:21 +01:00
parent 5198c1f139
commit ab14df074f
1 changed files with 1 additions and 0 deletions

View File

@ -348,6 +348,7 @@ int findnextstr(const char *needle, bool whole_word_only, int modus,
/* Wipe the "Searching..." message and unset the suppression flag. */
if (feedback > 0) {
blank_statusbar();
wrefresh(bottomwin);
suppress_cursorpos = FALSE;
}