[PR #11890] Improve responsiveness of conhost/ConPTY for large inputs #28790

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

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

State: closed
Merged: Yes


This commit replaces the console lock was replaced with a fair ticket
lock implementation, as only fair locks guarantee us that the renderer
(or other parts) can acquire the lock, once the VT parser has finally
released it.

This is related to https://github.com/microsoft/terminal/issues/11794.

Validation Steps Performed

  • No obvious crashes
  • No text/VT performance regression
  • Cursor blinker starts/stops on focus/defocus of the window
**Original Pull Request:** https://github.com/microsoft/terminal/pull/11890 **State:** closed **Merged:** Yes --- This commit replaces the console lock was replaced with a fair ticket lock implementation, as only fair locks guarantee us that the renderer (or other parts) can acquire the lock, once the VT parser has finally released it. This is related to https://github.com/microsoft/terminal/issues/11794. ## Validation Steps Performed * No obvious crashes ✅ * No text/VT performance regression ✅ * Cursor blinker starts/stops on focus/defocus of the window ✅
claunia added the pull-request label 2026-01-31 09:30:46 +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#28790