Feature Request: Double Click Selection #988
Labels
Area-Interaction
Interacting with the vintage console window (as opposed to driving via API or hooks)
Area-TerminalControl
Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)
In-PR
This issue has a related PR
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Work-Item
It's being tracked by an actual work item internally. (to be removed soon)
Milestone
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
[' ', '/', '\']
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.
The text was updated successfully, but these errors were encountered: