nano

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

commit 58c3dd6cd02033c389ef193672525a23434c67c5
parent 5ca765f10766c89bf54a001f3438eb4d12a4ad36
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon,  9 Jan 2017 15:21:15 +0100

softwrap: when typing M-/, ensure the last line is fully visible

Diffstat:
Msrc/move.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/move.c b/src/move.c @@ -44,6 +44,7 @@ void do_last_line(void) /* Set the last line of the screen as the target for the cursor. */ openfile->current_y = editwinrows - 1; + ensure_line_is_visible(); refresh_needed = TRUE; focusing = FALSE;