diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-15 17:02:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-15 17:02:17 +0000 |
| commit | 2a012f86d852bfc622a1d06eff5fad7e43db9023 (patch) | |
| tree | 17c4e9041b6d9cb93c40f8ddb5adb5864c0a3d26 /csi.c | |
| parent | csi: add support for ?1047 and ?1048 (diff) | |
term: keep cursor state in grid, for now, but document that it _could_ be moved
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -507,7 +507,6 @@ decset_decrst(struct terminal *term, unsigned param, bool enable) term->grid = &term->alt; /* Cursor retains its position from the normal grid */ - /* TODO: don’t need separate cursors */ term_cursor_to( term, min(term->normal.cursor.point.row, term->rows - 1), @@ -526,7 +525,6 @@ decset_decrst(struct terminal *term, unsigned param, bool enable) term->grid = &term->normal; /* Cursor retains its position from the alt grid */ - /* TODO: don’t need separate cursors */ term_cursor_to( term, min(term->alt.cursor.point.row, term->rows - 1), min(term->alt.cursor.point.col, term->cols - 1)); |
