[PR #5196] [MERGED] Reduce CursorChanged Events for Accessibility #26169

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5196
Author: @carlos-zamora
Created: 3/31/2020
Status: Merged
Merged: 4/1/2020
Merged by: @undefined

Base: masterHead: dev/cazamor/acc/opt-cursor


📝 Commits (6)

  • 8403a76 Reduce CursorChanged Events for Accessibility
  • 8d86997 Revert "Reduce CursorChanged Events for Accessibility"
  • 5eb9f9a suppress uia cursor changed events in uiarenderer
  • 604420b idk why this was ever S_FALSE
  • 1abd85c fix comment
  • 3426a7b fix SA

📊 Changes

2 files changed (+14 additions, -5 deletions)

View changed files

📝 src/renderer/uia/UiaRenderer.cpp (+13 -5)
📝 src/renderer/uia/UiaRenderer.hpp (+1 -0)

📄 Description

Summary of the Pull Request

Reduce the number of times we dispatch a cursor changed event. We were firing it every time the renderer had to do anything related to the cursor. Unfortunately, blinking the cursor triggered this behavior. Now we just check if the position has changed.

PR Checklist

Validation Steps Performed

Verified using Narrator
Also verified #3791 still works right


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5196 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 3/31/2020 **Status:** ✅ Merged **Merged:** 4/1/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/cazamor/acc/opt-cursor` --- ### 📝 Commits (6) - [`8403a76`](https://github.com/microsoft/terminal/commit/8403a766d7d1ff3874c55a85500fbfa4d53e23fd) Reduce CursorChanged Events for Accessibility - [`8d86997`](https://github.com/microsoft/terminal/commit/8d869976cf3491cf265fa1ce76bda38124ba1664) Revert "Reduce CursorChanged Events for Accessibility" - [`5eb9f9a`](https://github.com/microsoft/terminal/commit/5eb9f9a594b29f99be50f53fdfc4984e4d51bc3b) suppress uia cursor changed events in uiarenderer - [`604420b`](https://github.com/microsoft/terminal/commit/604420ba40b873ca0ead4e3cd5419f56dc8be930) idk why this was ever S_FALSE - [`1abd85c`](https://github.com/microsoft/terminal/commit/1abd85c788170a9b1e1e486c5afe953ab243b47b) fix comment - [`3426a7b`](https://github.com/microsoft/terminal/commit/3426a7b8c32b03e00b3e92374fa135be30b44629) fix SA ### 📊 Changes **2 files changed** (+14 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/uia/UiaRenderer.cpp` (+13 -5) 📝 `src/renderer/uia/UiaRenderer.hpp` (+1 -0) </details> ### 📄 Description ## Summary of the Pull Request Reduce the number of times we dispatch a cursor changed event. We were firing it every time the renderer had to do anything related to the cursor. Unfortunately, blinking the cursor triggered this behavior. Now we just check if the position has changed. ## PR Checklist * [X] Closes #5143 ## Validation Steps Performed Verified using Narrator Also verified #3791 still works right --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:14:23 +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#26169