You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Conhost "find and color" feature doesn't work with DBCS text #8574
Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
auto it = screenInfo.GetTextDataAt(COORD{ selectRect.Left, selectRect.Top });
for (SHORT i = 0; i < (selectRect.Right - selectRect.Left + 1); ++i)
{
str.append((*it).begin(), (*it).end());
it++;
}
It's copying one screen cell at a time from the selected range, but that means each character is copied twice with DBCS text, since there are two cells per character.
Activity
ghost added
Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
Btw, if you're wondering why I care about these weird cases of undocumented functionality, it's because I'm trying to finish off a PR for #7865, and that touches on all of these areas. And I can't tell if my changes are working when the existing code is already broken. So I thought it best to get these fixes in place first, rather than bundling them into my PR which is complicated enough as it is.
Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
Activity
j4james commentedon Dec 13, 2020
Btw, if you're wondering why I care about these weird cases of undocumented functionality, it's because I'm trying to finish off a PR for #7865, and that touches on all of these areas. And I can't tell if my changes are working when the existing code is already broken. So I thought it best to get these fixes in place first, rather than bundling them into my PR which is complicated enough as it is.
Fix color selection operations in conhost (#8577)
Fix color selection operations in conhost (microsoft#8577)