[PR #17790] Don't emit raw escape sequences in the test log output #31374

Open
opened 2026-01-31 09:46:51 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/17790

State: closed
Merged: Yes


I used this very bad regex to try and find all the \x1b's in ScreenBufferTests that weren't in a ProcessString call:

(?<!ProcessString.*)\x1b\[

And these looked like the ones that were the only violations.

Closes #17736

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17790 **State:** closed **Merged:** Yes --- I used this very bad regex to try and find all the `\x1b`'s in ScreenBufferTests that weren't in a ProcessString call: ``` (?<!ProcessString.*)\x1b\[ ``` And these looked like the ones that were the only violations. Closes #17736
claunia added the pull-request label 2026-01-31 09:46:51 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31374