Commit 58c3dd6c authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment