Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore CHAR_INFO trailers during WriteConsoleOutput #14840

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Feb 13, 2023

#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 ✅

@lhecker lhecker added Product-Conhost For issues in the Console codebase Area-Output Related to output processing (inserting text into buffer, retrieving buffer text, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) labels Feb 13, 2023
@lhecker lhecker changed the title Ignore CHAR_INFO trailers during input Ignore CHAR_INFO trailers during WriteConsoleOutput Feb 13, 2023
@DHowett DHowett merged commit 9dcdcac into main Feb 15, 2023
@DHowett DHowett deleted the dev/lhecker/13626-fixup branch February 15, 2023 23:40
DHowett pushed a commit that referenced this pull request Mar 31, 2023
#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 ✅

(cherry picked from commit 9dcdcac)
Service-Card-Id: 88719297
Service-Version: 1.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Related to output processing (inserting text into buffer, retrieving buffer text, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Conhost For issues in the Console codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants