nano

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

commit b92b9e5cac02ae478975ba27e39db8c7eff3d97b
parent d19842ed733a882b3826de5bef3ed35125ce7f69
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 14 Nov 2021 16:16:06 +0100

browser: with --zero, do not use the bottom row for displaying filenames

Otherwise the prompt bar or status bar could hide the highlighted item.

This addresses the first issue mentioned in commit 03637030.

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

diff --git a/src/browser.c b/src/browser.c @@ -107,7 +107,7 @@ void read_the_list(const char *path, DIR *dir) * between columns. */ piles = (COLS + 2) / (longest + 2); - usable_rows = editwinrows; + usable_rows = editwinrows - (ISSET(ZERO) && LINES > 1 ? 1 : 0); } /* Look for needle. If we find it, set selected to its location.