[PR #17257] Fix race conditions in UiaTextRangeBase #31168

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

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

State: closed
Merged: Yes


We need to lock the buffer when getting the viewport/cursor position.
This caused the UIA overlay to randomly fail to update.

Validation Steps Performed

  • Open a cmd tab and hold any key immediately
  • Repeat until you're somewhat confident it's gone
**Original Pull Request:** https://github.com/microsoft/terminal/pull/17257 **State:** closed **Merged:** Yes --- We need to lock the buffer when getting the viewport/cursor position. This caused the UIA overlay to randomly fail to update. ## Validation Steps Performed * Open a cmd tab and hold any key immediately * Repeat until you're somewhat confident it's gone ✅
claunia added the pull-request label 2026-01-31 09:45:32 +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#31168