[PR #5289] [MERGED] Muffle updates to the cursor position to 1/~100ms #26227

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5289
Author: @DHowett-MSFT
Created: 4/9/2020
Status: Merged
Merged: 4/9/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/put_a_sock_in_it


📝 Commits (3)

  • ee415d0 Muffle updates to the cursor position
  • bc2dca8 Switch to an atomic, and muffle it to 100ms min
  • 93a2995 EXPLAIN HOW:

📊 Changes

2 files changed (+23 additions, -0 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+17 -0)
📝 src/cascadia/TerminalControl/TermControl.h (+6 -0)

📄 Description

This stops us from dispatching back-to-back terminal cursor position
updates to the TSF control before it has a chance to get back to us.

Fixes #5288

This was tested live with the 6MB repro file from "Terminal Not Speed Enough".


🔄 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/5289 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 4/9/2020 **Status:** ✅ Merged **Merged:** 4/9/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/put_a_sock_in_it` --- ### 📝 Commits (3) - [`ee415d0`](https://github.com/microsoft/terminal/commit/ee415d0faac9614e9ab90b3d396d111657d56d33) Muffle updates to the cursor position - [`bc2dca8`](https://github.com/microsoft/terminal/commit/bc2dca8448397f63dbc39ce74070d84aa7186ca9) Switch to an atomic, and muffle it to 100ms min - [`93a2995`](https://github.com/microsoft/terminal/commit/93a29954f1692d32ac9ffde7fc2fc464e2749eaf) EXPLAIN HOW: ### 📊 Changes **2 files changed** (+23 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+17 -0) 📝 `src/cascadia/TerminalControl/TermControl.h` (+6 -0) </details> ### 📄 Description This stops us from dispatching back-to-back terminal cursor position updates to the TSF control before it has a chance to get back to us. Fixes #5288 This was tested live with the 6MB repro file from "Terminal Not Speed Enough". --- <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:47 +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#26227