-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Area-InteractionInteracting with the vintage console window (as opposed to driving via API or hooks)Interacting 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.)Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)In-PRThis issue has a related PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Complex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.The new Windows Terminal.Work-ItemIt's being tracked by an actual work item internally. (to be removed soon)It's being tracked by an actual work item internally. (to be removed soon)
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-InteractionInteracting with the vintage console window (as opposed to driving via API or hooks)Interacting 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.)Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)In-PRThis issue has a related PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Complex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.The new Windows Terminal.Work-ItemIt's being tracked by an actual work item internally. (to be removed soon)It's being tracked by an actual work item internally. (to be removed soon)