diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-16 14:34:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-20 12:55:32 +0000 |
| commit | 2c0c4ce821b90dea9ebbcdab98c10865de1872fe (patch) | |
| tree | cb3e49d374f9137b9f41bbf47da974521f40256d | |
| parent | term: add term_cursor_col() (diff) | |
csi: CHA+HPA (cursor horizontal absolute): use term_cursor_col()
| -rw-r--r-- | csi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
