Fix odd history scrolling with oversized lines

This commit is contained in:
K. Lange 2018-09-14 12:39:18 +09:00
parent 78a435bbb1
commit 44cdeaef06

View File

@ -920,6 +920,7 @@ static void history_previous(void) {
}
/* Set cursor at end */
column = the_line->actual;
offset = 0;
recalculate_syntax(the_line);
render_line();
place_cursor_actual();
@ -962,6 +963,7 @@ static void history_next(void) {
}
/* Set cursor at end */
column = the_line->actual;
offset = 0;
recalculate_syntax(the_line);
render_line();
place_cursor_actual();