From 58c3dd6cd02033c389ef193672525a23434c67c5 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Mon, 9 Jan 2017 15:21:15 +0100 Subject: [PATCH] softwrap: when typing M-/, ensure the last line is fully visible --- src/move.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/move.c b/src/move.c index e3265280..d6b0dc22 100644 --- 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; -- GitLab