nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c6ddae70f7da3cd965f1a05f029040b40c61f536
parent e4ecd03e3fe682ab77667754e1fc76fd9bcccbad
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 11 Feb 2022 16:14:45 +0100

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.

Diffstat:
Msrc/winio.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/winio.c b/src/winio.c @@ -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);