wordDelimiters doesn't work #8230

Closed
opened 2026-01-31 01:24:09 +00:00 by claunia · 2 comments
Owner

Originally created by @zsbolyoczki on GitHub (May 18, 2020).

Environment

Windows version: Microsoft Windows [Version 10.0.18363.778]
Windows terminal version: 0.11.1333.0

Steps to reproduce

This is my settings.json:

"defaults":
{
"colorScheme": "Dracula",
"wordDelimiters": " :;",
"cursorShape": "vintage"
}

My goal was to only stop the double click selection at space, comma and semiciolon.

Actual behavior

When I double click any part of the path string below ("path", "to", "foo", etc.) only that word will be selected:

lorem /path/to/foo/bar/baz/whatever ipsum

Triple click selects the whole line as expected.

Expected behavior

Only select the space delimited string ("/path/to/foo/bar/baz/whatever") instead of some part of it.

Originally created by @zsbolyoczki on GitHub (May 18, 2020). # Environment Windows version: Microsoft Windows [Version 10.0.18363.778] Windows terminal version: 0.11.1333.0 # Steps to reproduce This is my settings.json: ``` "defaults": { "colorScheme": "Dracula", "wordDelimiters": " :;", "cursorShape": "vintage" } ``` My goal was to only stop the double click selection at space, comma and semiciolon. # Actual behavior When I double click any part of the path string below ("path", "to", "foo", etc.) only that word will be selected: ``` lorem /path/to/foo/bar/baz/whatever ipsum ``` Triple click selects the whole line as expected. # Expected behavior Only select the space delimited string ("/path/to/foo/bar/baz/whatever") instead of some part of it.
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:24:09 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 18, 2020):

wordDelimiters must be inserted at the top level of the settings file, not inside the profile/defaults blocks. Sorry.

@DHowett-MSFT commented on GitHub (May 18, 2020): `wordDelimiters` must be inserted at the top level of the settings file, not inside the profile/defaults blocks. Sorry.
Author
Owner

@zsbolyoczki commented on GitHub (May 18, 2020):

cool, works as expected. thanks!

@zsbolyoczki commented on GitHub (May 18, 2020): cool, works as expected. thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8230