mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-10 03:22:04 +03:00
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:
parent
e4ecd03e3f
commit
c6ddae70f7
@ -1676,7 +1676,7 @@ void wipe_statusbar(void)
|
||||
{
|
||||
lastmessage = VACUUM;
|
||||
|
||||
if (ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1)
|
||||
if ((ISSET(ZERO) || ISSET(MINIBAR) || LINES == 1) && currmenu == MMAIN)
|
||||
return;
|
||||
|
||||
blank_row(footwin, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user