aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 82078cdf..79b0b97b 100644
--- a/csi.c
+++ b/csi.c
@@ -2324,7 +2324,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
} else {
if (term->multi_cursor.shapes == NULL) {
term->multi_cursor.shapes = xcalloc(
- term->cols * term->rows,
+ term->grid->num_cols * term->grid->num_rows,
sizeof(enum multi_cursor_shape));
}
}