diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-21 13:34:10 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-21 13:34:10 +0000 |
| commit | dba3bb820d6e745697ef6f3b7680dd51ab19118d (patch) | |
| tree | ef2206e436d86394d8ab9632b86620487b2148b5 /csi.c | |
| parent | csi: fix line clearing; the erase range 'end' is exclusive (diff) | |
csi: fix \e[B - it should move the cursor *down*, not up.
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -225,7 +225,8 @@ csi_dispatch(struct terminal *term, uint8_t final) case 'B': { int count = term->vt.params.idx > 0 ? term->vt.params.v[0].value : 1; - grid_cursor_up(&term->grid, count); + grid_cursor_down(&term->grid, count); + //LOG_DBG("CSI: B: row = %d, col = %d", term->grid.cursor.row, term->grid.cursor.col); break; } |
