aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/csi.c b/csi.c
index b247e8ff..4c40722e 100644
--- a/csi.c
+++ b/csi.c
@@ -988,15 +988,13 @@ csi_dispatch(struct terminal *term, uint8_t final)
/* Erase entire screen */
term_erase(term, 0, 0, term->rows - 1, term->cols - 1);
term->grid->cursor.lcf = false;
- if (unlikely(term->multi_cursor.shapes != NULL))
- term_remove_all_multi_cursors(term);
+ term_remove_all_multi_cursors(term);
break;
case 3: {
/* Erase scrollback */
term_erase_scrollback(term);
- if (unlikely(term->multi_cursor.shapes != NULL))
- term_remove_all_multi_cursors(term);
+ term_remove_all_multi_cursors(term);
break;
}