aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/csi.c b/csi.c
index c2efa660..566285f6 100644
--- a/csi.c
+++ b/csi.c
@@ -702,8 +702,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
tll_free(term->alt.scroll_damage);
selection_cancel(term);
- //grid_memclear(term->grid, 0, term->rows * term->cols);
- //term_damage_erase(term, 0, term->rows * term->cols);
+ term_erase(
+ term,
+ &(struct coord){0, 0},
+ &(struct coord){term->cols - 1, term->rows - 1});
}
break;