mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-26 01:40:12 -05:00
csi: IL+DL: move cursor to column 0
This fixes vttest 11.6.6.3 Test non-VT100 -> Test ISO-6429 colors -> Test of VT102-style features with BCE -> Test Insert/Delete Char/Line
This commit is contained in:
parent
a2f54c810b
commit
0febce9007
2 changed files with 3 additions and 0 deletions
|
|
@ -160,6 +160,7 @@
|
||||||
alternate screen.
|
alternate screen.
|
||||||
* Restore `SIGHUP` in spawned processes.
|
* Restore `SIGHUP` in spawned processes.
|
||||||
* Text reflow performance (https://codeberg.org/dnkl/foot/issues/504).
|
* Text reflow performance (https://codeberg.org/dnkl/foot/issues/504).
|
||||||
|
* IL+DL (`CSI Ps L` + `CSI Ps M`) now moves the cursor to column 0.
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
2
csi.c
2
csi.c
|
|
@ -1001,6 +1001,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
.end = term->scroll_region.end},
|
.end = term->scroll_region.end},
|
||||||
count);
|
count);
|
||||||
term->grid->cursor.lcf = false;
|
term->grid->cursor.lcf = false;
|
||||||
|
term->grid->cursor.point.col = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1020,6 +1021,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
.end = term->scroll_region.end},
|
.end = term->scroll_region.end},
|
||||||
count);
|
count);
|
||||||
term->grid->cursor.lcf = false;
|
term->grid->cursor.lcf = false;
|
||||||
|
term->grid->cursor.point.col = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue