[PR #17374] Fix spurious clear-to-end sequence in buffer dumps #31203

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

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

State: closed
Merged: Yes


I think I forgot to complete that section of the code...
The parentheses were missing and beg was repeated twice. The last
line in the comment above this explains what I intended it to be.

Closes #17365

Validation Steps Performed

  • In a new PowerShell tab
  • Run "`e[999C`e[2D`e[42mfoo`e[m"
  • Newline until it scrolls
  • Run it again
  • Close and reopen
  • The green "foo" is still green
**Original Pull Request:** https://github.com/microsoft/terminal/pull/17374 **State:** closed **Merged:** Yes --- I think I forgot to complete that section of the code... The parentheses were missing and `beg` was repeated twice. The last line in the comment above this explains what I intended it to be. Closes #17365 ## Validation Steps Performed * In a new PowerShell tab * Run ``"`e[999C`e[2D`e[42mfoo`e[m"`` * Newline until it scrolls * Run it again * Close and reopen * The green "foo" is still green ✅
claunia added the pull-request label 2026-01-31 09:45:47 +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#31203