[PR #4946] Improve wide glyph support in UIA #26047

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

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

State: closed
Merged: Yes


Summary of the Pull Request

  • Added better wide glyph support for UIA. We used to move one cell at a time, so wide glyphs would be read twice.
  • Converted a few things to use til::point since I'm already here.
  • fixed telemetry for UIA

PR Checklist

Detailed Description of the Pull Request / Additional comments

The text buffer has a concept of word boundaries, so it makes sense to have a concept of glyph boundaries too.

_start and _end in UiaTextRange are now til::point

Validation Steps Performed

Verified using Narrator

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4946 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request - Added better wide glyph support for UIA. We used to move one _cell_ at a time, so wide glyphs would be read twice. - Converted a few things to use til::point since I'm already here. - fixed telemetry for UIA ## PR Checklist * [x] Closes #1354 ## Detailed Description of the Pull Request / Additional comments The text buffer has a concept of word boundaries, so it makes sense to have a concept of glyph boundaries too. _start and _end in UiaTextRange are now til::point ## Validation Steps Performed Verified using Narrator
claunia added the pull-request label 2026-01-31 09:13:36 +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#26047