display: suppress the bottom-bar wiping only when the user is editing

This wipe suppression is meant to prevent the last row of the edit window
getting cleared when edit window and bottom window overlap, and this is
relevant only when the user is actually editing -- the file browser and
help viewer take care not to use this bottom row for content.

This fixes https://savannah.gnu.org/bugs/?62031.

Bug existed since version 6.0, commit be61aad9.
This commit is contained in:
Benno Schulenberg 2022-02-11 16:14:45 +01:00
parent e4ecd03e3f
commit c6ddae70f7

View File

@ -1676,7 +1676,7 @@ void wipe_statusbar(void)
{ {
lastmessage = VACUUM; lastmessage = VACUUM;
if (ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1) if ((ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1) && currmenu == MMAIN)
return; return;
blank_row(footwin, 0); blank_row(footwin, 0);