mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: line-wrap: need to update grid->cur_row when we did *not* scroll
This commit is contained in:
parent
635698722e
commit
98ebb99be3
1 changed files with 1 additions and 0 deletions
|
|
@ -2360,6 +2360,7 @@ print_linewrap(struct terminal *term)
|
|||
else {
|
||||
assert(term->grid->cursor.point.row < term->scroll_region.end - 1);
|
||||
term->grid->cursor.point.row++;
|
||||
term->grid->cur_row = grid_row(term->grid, term->grid->cursor.point.row);
|
||||
}
|
||||
|
||||
term->grid->cursor.point.col = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue