Ignore OSC/DCS/APC/PM/SOS strings; ease timing in the terminal engine
Ubuntu's prompt emits OSC 3008 context markers (ESC ] 3008;... ESC \), which were printed as text. String sequences are now swallowed up to BEL or ST, like a real terminal. CSI commands now run one clock after their final byte with registered counts, and scroll ranges are computed over two clocks, so the design no longer scrapes by on timing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6e54d75c56
commit
1e4e2101b8
2 files changed
+145
-107
No files matched your search
+2
-1
@@ -215,7 +215,8 @@ module tb_terminal;
|
||||
uart_str("\033)0\016lqqqqk\015\012x x\015\012mqqqqj\017\015\012");
|
||||
uart_str("abcdefgh\033[4D\033[2@XY\033[3P\015\012");
|
||||
uart_str("\033[38;5;196m256-red \033[38;2;0;0;255mrgb-blue \033[90mgrey \033[103;30mon-yellow\033[0m\015\012");
|
||||
uart_str("line A\015\012line B\015\012line C\015\012line D\015\012");
|
||||
uart_str({"\033]3008;start=1f2e;user=brad;type=shell\033\\\033]0;title\007",
|
||||
"line A\015\012line B\015\012line C\015\012line D\015\012"});
|
||||
uart_str("\033[8;1H\033[Linserted\033[10;1H\033[M");
|
||||
uart_str("\033[13;1Habove region\033[19;1Hbelow region\033[15;18r\033[15;1H");
|
||||
uart_str("r1\015\012r2\015\012r3\015\012r4\015\012r5\015\012r6");
|
||||
|
||||
Reference in new issue
Block a user