From 2a012f86d852bfc622a1d06eff5fad7e43db9023 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 15 Jan 2021 18:02:17 +0100 Subject: term: keep cursor state in grid, for now, but document that it _could_ be moved --- csi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index a199005f..8a4adb7e 100644 --- a/csi.c +++ b/csi.c @@ -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)); -- cgit v1.3