aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c3
1 files changed, 3 insertions, 0 deletions
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;
}