[PR #11634] Improve conhost CPU usage during text selection #28679

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

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

State: closed
Merged: Yes


During text selection we redraw the window every time the cursor moves by a pixel.
This commit changes it so that it only updates once the selection actually changes.

This is an offshoot from #11623.

Validation Steps Performed

  • Text selection continues to work in DxEngine and AtlasEngine ✔️
  • Reduction in redraws ✔️
**Original Pull Request:** https://github.com/microsoft/terminal/pull/11634 **State:** closed **Merged:** Yes --- During text selection we redraw the window every time the cursor moves by a pixel. This commit changes it so that it only updates once the selection actually changes. This is an offshoot from #11623. ## Validation Steps Performed * Text selection continues to work in DxEngine and AtlasEngine ✔️ * Reduction in redraws ✔️
claunia added the pull-request label 2026-01-31 09:30:05 +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#28679