[PR #14840] Ignore CHAR_INFO trailers during WriteConsoleOutput #30277

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

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

State: closed
Merged: Yes


#13626 contains a small "regression" compared to #13321:
It now began to store trailers in the buffer wherever possible to allow a region
of the buffer to be backed up and restored via Read/WriteConsoleOutput.
But we're unfortunately still ill-equipped to handle anything but UCS-2 via
WriteConsoleOutput, so it's best to again ignore trailers just like in #13321.

Validation Steps Performed

  • Added unit test
**Original Pull Request:** https://github.com/microsoft/terminal/pull/14840 **State:** closed **Merged:** Yes --- #13626 contains a small "regression" compared to #13321: It now began to store trailers in the buffer wherever possible to allow a region of the buffer to be backed up and restored via Read/WriteConsoleOutput. But we're unfortunately still ill-equipped to handle anything but UCS-2 via WriteConsoleOutput, so it's best to again ignore trailers just like in #13321. ## Validation Steps Performed * Added unit test ✅
claunia added the pull-request label 2026-01-31 09:39:44 +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#30277