aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csi.c8
-rw-r--r--foot.info3
2 files changed, 10 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 19c0e8b3..4a4d321a 100644
--- a/csi.c
+++ b/csi.c
@@ -541,6 +541,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
+ case 'Z': {
+ /* Back tab */
+ int col = term->cursor.col;
+ col = (col - 8 + 7) / 8 * 8;
+ term_cursor_right(term, col - term->cursor.col);
+ break;
+ }
+
case 'h':
/* smir - insert mode enable */
assert(false && "untested");
diff --git a/foot.info b/foot.info
index 4388df77..05224182 100644
--- a/foot.info
+++ b/foot.info
@@ -27,7 +27,8 @@ foot+base|foot base fragment,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,
blink=\E[5m,
- bold=\e[1m,
+ bold=\E[1m,
+ cbt=\E[Z,
civis=\E[?25l,
clear=\E[H\E[2J,
cnorm=\E[?12l\E[?25h,