nano

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

commit c9fb1cf85af094d1d171e690a4258d951b15ac9d
parent bbed065fa8e5462fbe0dbc929b6e0e9f99ffbdf1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 21 Nov 2021 11:05:59 +0100

tweaks: don't redraw the help lines (if present), and normalize a brace

Diffstat:
Msrc/nano.c | 2+-
Msrc/winio.c | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -2561,7 +2561,7 @@ int main(int argc, char **argv) edit_scroll(FORWARD); wnoutrefresh(edit); } - redrawwin(bottomwin); + wredrawln(bottomwin, 0 ,1); wnoutrefresh(bottomwin); place_the_cursor(); } else if (ISSET(ZERO) && lastmessage > VACUUM) diff --git a/src/winio.c b/src/winio.c @@ -1703,8 +1703,7 @@ void check_statusblank(void) wipe_statusbar(); /* When windows overlap, make sure to show the edit window now. */ - if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1)) - { + if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1)) { wredrawln(edit, editwinrows - 1, 1); wnoutrefresh(edit); }