[PR #4826] Fire UIA Events for Output and Cursor Movement #25971

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

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

State: closed
Merged: Yes


Summary of the Pull Request

This notifies automation clients (i.e.: NVDA, narrator, etc...) of new output being rendered to the screen.

References

Close #2447 - Signaling for new output and cursor
Close #3791 - fixed by signaling cursor changes

Detailed Description of the Pull Request / Additional comments

  • Added tracing for UiaRenderer. This makes it easier to debug issues with notifying an automation client.
  • Fire TextChanged automation events when new content is output to the screen.

Validation Steps Performed

Verified with NVDA [1]

Narrator

Narrator works better, but is unable to detect new output consistently. There is no harm for narrator when this change goes in.

[1] https://github.com/microsoft/terminal/issues/2447#issuecomment-595879890

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4826 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This notifies automation clients (i.e.: NVDA, narrator, etc...) of new output being rendered to the screen. ## References Close #2447 - Signaling for new output and cursor Close #3791 - fixed by signaling cursor changes ## Detailed Description of the Pull Request / Additional comments - Added tracing for UiaRenderer. This makes it easier to debug issues with notifying an automation client. - Fire TextChanged automation events when new content is output to the screen. ## Validation Steps Performed Verified with NVDA [1] ## Narrator Narrator works _better_, but is unable to detect new output consistently. There is no harm for narrator when this change goes in. [1] https://github.com/microsoft/terminal/issues/2447#issuecomment-595879890
claunia added the pull-request label 2026-01-31 09:13:00 +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#25971