mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-08 10:06:22 -05:00
csi: fix cursor positioning
This commit is contained in:
parent
66033b9b1a
commit
f4c3343382
1 changed files with 1 additions and 1 deletions
2
csi.c
2
csi.c
|
|
@ -503,7 +503,7 @@ 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);
|
||||
term_cursor_to(term, start - 1, 0);
|
||||
|
||||
LOG_DBG("scroll region: %d-%d",
|
||||
term->scroll_region.start,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue