[PR #4523] Limit Concept of TextBuffer's Size in UIA #25811

Closed
opened 2026-01-31 09:11:56 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


Summary of the Pull Request

In UIA Providers, update the concept of the size of the text buffer to just go down to the virtual bottom. This significantly increases performance to the point that it can even be used in the Debug build.

PR Checklist

Detailed Description of the Pull Request / Additional comments

We already actually have this concept exposed to us via the IUiaData. So we're just leveraging that and putting it in a helper function _getBufferSize().

Validation Steps Performed

Tested word nav on Narrator (previously hung). Now it works on the Debug build. Previously, using the release build was necessary to be able to test this feature.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4523 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request In UIA Providers, update the concept of the size of the text buffer to just go down to the virtual bottom. This significantly increases performance to the point that it can even be used in the Debug build. ## PR Checklist * [x] Closes #4485 * [x] CLA signed. ## Detailed Description of the Pull Request / Additional comments We already actually have this concept exposed to us via the IUiaData. So we're just leveraging that and putting it in a helper function `_getBufferSize()`. ## Validation Steps Performed Tested word nav on Narrator (previously hung). Now it works on the Debug build. Previously, using the release build was necessary to be able to test this feature.
claunia added the pull-request label 2026-01-31 09:11:56 +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#25811