mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: CHA+HPA (cursor horizontal absolute): use term_cursor_col()
This commit is contained in:
parent
24f12c7b5e
commit
2c0c4ce821
1 changed files with 1 additions and 1 deletions
2
csi.c
2
csi.c
|
|
@ -815,7 +815,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
case 'G': {
|
||||
/* Cursor horizontal absolute */
|
||||
int col = min(vt_param_get(term, 0, 1), term->cols) - 1;
|
||||
term_cursor_to(term, term->grid->cursor.point.row, col);
|
||||
term_cursor_col(term, col);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue