Skip to content

Feature Request: Double Click Selection #988

@carlos-zamora

Description

@carlos-zamora

Summary of the new feature/enhancement

Double-clicking the text buffer creates a selection encompassing the "word".
The delimiters for what makes a "word" are defined in the settings (described below).

Dragging after a double click maintains the "beginning of the word" anchor but changes the other one.

Settings

Property Name Type Description Default Value
"selectionDelimiters" array list of characters used as delimiters [' ', '/', '\']

Use case: easily select a path or word from the selection.

Proposed technical implementation details (optional)

If possible, have XAML identify double-click. Everything else should be pretty straightforward. The TermControl will work with the Terminal to create the selection. When the event is triggered, we need to check the delimiters from the settings to decide what to select.

Metadata

Metadata

Assignees

Labels

Area-InteractionInteracting with the vintage console window (as opposed to driving via API or hooks)Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)In-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.Work-ItemIt's being tracked by an actual work item internally. (to be removed soon)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions