mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: reset 'normal' grid's view correctly
This commit is contained in:
parent
8a65d52b21
commit
4cef8ed2cc
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -455,7 +455,7 @@ render_resize(struct terminal *term, int width, int height)
|
|||
term->scroll_region.end = term->rows;
|
||||
|
||||
term->normal.offset %= term->normal.num_rows;
|
||||
term->normal.view %= term->alt.num_rows;
|
||||
term->normal.view %= term->normal.num_rows;
|
||||
|
||||
term->alt.offset %= term->alt.num_rows;
|
||||
term->alt.view %= term->alt.num_rows;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue