[PR #5374] wpf: port selection changes from TermControl, add multi-click selection #26292

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

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

State: closed
Merged: Yes


Summary of the Pull Request

This pull request ports #5096 to WpfTerminalControl, bringing it in line with the selection mechanics in Terminal. It also introduces double- and triple-click selection and makes sure we clear the selection when we resize.

Please read #5096 for more details.

Detailed Description of the Pull Request / Additional comments

This code is, largely, copy-and-pasted from TermControl with some updates to use std::chrono and til::point. I love til::point. A lot.

Validation Steps Performed

Lots of manual selection.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/5374 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request This pull request ports #5096 to WpfTerminalControl, bringing it in line with the selection mechanics in Terminal. It also introduces double- and triple-click selection and makes sure we clear the selection when we resize. Please read #5096 for more details. ## Detailed Description of the Pull Request / Additional comments This code is, largely, copy-and-pasted from TermControl with some updates to use `std::chrono` and `til::point`. I love `til::point`. A lot. ## Validation Steps Performed Lots of manual selection.
claunia added the pull-request label 2026-01-31 09:15:10 +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#26292