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 42a87e3d..c2efa660 100644
--- a/csi.c
+++ b/csi.c
@@ -544,7 +544,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
term_erase(
term,
&term->cursor,
- &(struct coord){term->cursor.col + count, term->cursor.row});
+ &(struct coord){term->cursor.col + count - 1, term->cursor.row});
#if 0
memset(&term->grid->cur_line[term->cursor.col],