nano

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

commit 6ae11071b3c25ac223182fab406b620255f085ef
parent 3c177c1bb9f02172514e8222d41f6744e920ca61
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 27 Jan 2020 12:06:27 +0100

tweaks: add an error message for something that should never occur

Diffstat:
Msrc/winio.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -2358,6 +2358,10 @@ void place_the_cursor(void) if (row < editwinrows) wmove(edit, row, margin + column); +#ifndef NANO_TINY + else + statusline(ALERT, "Misplaced cursor -- please report a bug"); +#endif openfile->current_y = row; }