Repository navigation
Commit 947ca19
perf(server): colored terminal output no longer copies history one character at a time
Chunks carrying escape sequences skip the plain-text fast path, so the
history sanitizer appended every printable character on its own. Append
each printable run up to the next sequence introducer as one slice.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 9c16146 commit 947ca19
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
| |||
1175 | 1176 | | |
1176 | 1177 | | |
1177 | 1178 | | |
1178 | | - | |
1179 | | - | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
1180 | 1184 | | |
1181 | 1185 | | |
1182 | 1186 | | |
| |||
0 commit comments