aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index e630d363..c3a7573c 100644
--- a/csi.c
+++ b/csi.c
@@ -364,6 +364,12 @@ csi_dispatch(struct terminal *term, uint8_t final)
term_cursor_left(term, term->cursor.point.col);
break;
+ case 'F':
+ /* CPL - Cursor Previous Line */
+ term_cursor_up(term, vt_param_get(term, 0, 1));
+ term_cursor_left(term, term->cursor.point.col);
+ break;
+
case 'g': {
int param = vt_param_get(term, 0, 0);
switch (param) {