Repository navigation
Commit aed463b
fix(shared): a control after escape intermediates is not taken as the final byte
ESC # LF 8 consumed the line feed as the final byte, so the newline was lost.
Only 0x30-0x7E can end the sequence; when anything else follows the
intermediates, end the sequence before it so the control (or a new ESC) is still
processed. This replaces the ESC-only special case with the general rule.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 1717fdf commit aed463b
2 files changed
Lines changed: 10 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
0 commit comments