mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
csi: DECSTBM: move cursor to top left corner of scrolling region
This commit is contained in:
parent
d70956da08
commit
b45b492f41
1 changed files with 2 additions and 0 deletions
2
csi.c
2
csi.c
|
|
@ -481,6 +481,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
term->scroll_region.start = start - 1;
|
||||
term->scroll_region.end = end;
|
||||
|
||||
term_cursor_to(term, (start - 1) * term->cols, 0);
|
||||
|
||||
LOG_INFO("scroll region: %d-%d",
|
||||
term->scroll_region.start,
|
||||
term->scroll_region.end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue