[PR #13661] Fix the ConPTY extended attributes optimization #29703

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

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

State: closed
Merged: Yes


... which should have never worked in the first place

Quick filing a PR for review. This is the bulk of the actual code changes. Figured it was best to review the conpty changes sooner than later and I can add tests in the morning.

Test cases:

printf "\e[7m         test         \e[m\n"
printf "\e[7m"; printf ' %.0s' $(seq 1 $COLUMNS); printf "\e[m\n"

After:
image

Closes #13229

Definitely fixes:

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13661 **State:** closed **Merged:** Yes --- ... which should have never worked in the first place Quick filing a PR for review. This is the bulk of the actual code changes. Figured it was best to review the conpty changes sooner than later and I can add tests in the morning. Test cases: ``` printf "\e[7m test \e[m\n" ``` ``` printf "\e[7m"; printf ' %.0s' $(seq 1 $COLUMNS); printf "\e[m\n" ``` After: ![image](https://user-images.githubusercontent.com/18356694/182478185-6e65ab99-5c27-4772-af3b-2baa22387ec1.png) Closes #13229 Definitely fixes: * [x] #13643 * [x] https://github.com/PowerShell/PowerShell/issues/17812
claunia added the pull-request label 2026-01-31 09:36:25 +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#29703