nano

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

commit 8e7738e22e9a4085840c9dfa0e7d0f0aac3565a7
parent 84f8445b7b2ba756864667f9bac64affca739d24
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 21 Nov 2021 16:46:49 +0100

tweaks: adjust two values -- help lines need at least 6 rows to be shown

Commit 931bf96c from four days ago incremented the minimum height.

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

diff --git a/src/text.c b/src/text.c @@ -2717,7 +2717,7 @@ void do_linter(void) return; } - if (helpless && LINES > 4) { + if (helpless && LINES > 5) { UNSET(NO_HELP); window_init(); } diff --git a/src/winio.c b/src/winio.c @@ -1687,7 +1687,7 @@ void wipe_statusbar(void) /* Blank out the two help lines (when they are present). */ void blank_bottombars(void) { - if (!ISSET(NO_HELP) && LINES > 4) { + if (!ISSET(NO_HELP) && LINES > 5) { blank_row(bottomwin, 1); blank_row(bottomwin, 2); }