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