nano

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

commit fd28e5f36c82bb964276b6fa804411970721ca7c
parent 7f40eeab0a948820ad90ae89d76b97c03b6330fc
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 15 Jun 2020 12:38:16 +0200

build: fix compilation when configured with --enable-tiny

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

diff --git a/src/winio.c b/src/winio.c @@ -2398,9 +2398,10 @@ void draw_row(int row, const char *converted, linestruct *line, size_t from_col) if (is_shorter || ISSET(SOFTWRAP)) wclrtoeol(edit); +#ifndef NANO_TINY if (thebar) mvwaddch(edit, row, COLS - 1, bardata[row]); - +#endif #ifdef USING_OLD_NCURSES /* Tell ncurses to really redraw the line without trying to optimize * for what it thinks is already there, because it gets it wrong in