From f4be84871f9493e87f08ed73a4f276c7fd69d45a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 17 Nov 2019 11:36:24 +0100 Subject: [PATCH] csi: implement 'CPL' - Cursor Previous Line --- csi.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) {