mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 14:51:36 +03:00
softwrap: when typing M-/, ensure the last line is fully visible
This commit is contained in:
parent
5ca765f107
commit
58c3dd6cd0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user