Allow word selection across lines #19795

Closed
opened 2026-01-31 06:53:47 +00:00 by claunia · 2 comments
Owner

Originally created by @simonLeary42 on GitHub (May 1, 2023).

When I double click a word in my terminal, it selects a word based on the wordDelimiters config option. If the word I want to select happens to occur on the right edge of my terminal, it will get wrapped onto the next line and now I can't select it with a double click. I thought I would find \n or \r\n in wordDelimiters, but it's not. It seems that there are other word delimiters hard-coded under the hood which cannot be configured.

Can this become configurable?

My workaround is to set ctrl+shift+c to copy as "singleLine", but I still have to manually click and drag.

{
    [
        {
            "command":
            {
                "action": "copy",
                "singleLine": true
            },
            "keys": "ctrl+shift+c"
        },
Originally created by @simonLeary42 on GitHub (May 1, 2023). When I double click a word in my terminal, it selects a word based on the `wordDelimiters` config option. If the word I want to select happens to occur on the right edge of my terminal, it will get wrapped onto the next line and now I can't select it with a double click. I thought I would find `\n` or `\r\n` in `wordDelimiters`, but it's not. It seems that there are other word delimiters hard-coded under the hood which cannot be configured. Can this become configurable? My workaround is to set ctrl+shift+c to copy as "singleLine", but I still have to manually click and drag. ```json { [ { "command": { "action": "copy", "singleLine": true }, "keys": "ctrl+shift+c" }, ```
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 06:53:48 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 1, 2023):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #4009 for more discussion.

/dup #4009

@zadjii-msft commented on GitHub (May 1, 2023): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #4009 for more discussion. /dup #4009
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (May 1, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (May 1, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19795