diff --git a/csi.c b/csi.c index 045a5b6c..2d497636 100644 --- a/csi.c +++ b/csi.c @@ -1120,7 +1120,10 @@ csi_dispatch(struct terminal *term, uint8_t final) } } xassert(new_col >= term->grid->cursor.point.col); + + bool lcf = term->grid->cursor.lcf; term_cursor_right(term, new_col - term->grid->cursor.point.col); + term->grid->cursor.lcf = lcf; } break; }