mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: implement \E[Z - back tab
This commit is contained in:
parent
751ac55f64
commit
ba322c4eff
2 changed files with 10 additions and 1 deletions
8
csi.c
8
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");
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue