diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 10:20:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 10:20:59 +0000 |
| commit | 616e506f2e12983d1d5eeb7eca66e32b5aa876d9 (patch) | |
| tree | bb2ef2ece0490e9ae5350e7e2f4958a4f0504f32 /vt.c | |
| parent | csi: implement 'HPA' - Horizontal Position Absolute (diff) | |
csi: fix bad implementation of CBT (back tab)
* It takes a parameter, that indicates the number of tab stops to move
through
* Use the tab stops defined in the tab stops list, not hard coded mod
8 columns.
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -875,6 +875,7 @@ action(struct terminal *term, enum action _action, uint8_t c) break; } } + assert(new_col >= term->cursor.point.col); term_cursor_right(term, new_col - term->cursor.point.col); break; } |
