wordDelimiters not working, always breaks on a dot '.' or dash '-' #9578

Open
opened 2026-01-31 01:58:15 +00:00 by claunia · 0 comments
Owner

Originally created by @frostbitefalls on GitHub (Jul 12, 2020).

Environment

Windows 10 Pro, 10.0.18362.900

Steps to reproduce

Windows Terminal 1.0.1811.0 -- edit settings.json, add the line below to "defaults", or any profile, or both; exit and restart;
display some text, eg a set of files including several with extensions like .c, .html, .css, .jpg, .png, others;
double-click any displayed file name.

"wordDelimiters" : "`'&()*,;<=>?@[]{|}:"

(this example has no '.' and no '-' chars; the line ends with or without a trailing comma , as needed; no errors reported after saving settings.json and none after restarting Windows Terminal)

Expected behavior

For any displayed file name absent of any delimiter chars shown above, the entire file name should be selected / inverted.

Actual behavior

Selection / inversion includes characters only up to the first occurrence of '.' or '-' in both directions.

Originally created by @frostbitefalls on GitHub (Jul 12, 2020). # Environment Windows 10 Pro, 10.0.18362.900 # Steps to reproduce Windows Terminal 1.0.1811.0 -- edit settings.json, add the line below to "defaults", or any profile, or both; exit and restart; display some text, eg a set of files including several with extensions like .c, .html, .css, .jpg, .png, others; double-click any displayed file name. "wordDelimiters" : "`'&()*,;<=>?@[]{|}:" (this example has no '.' and no '-' chars; the line ends with or without a trailing comma , as needed; no errors reported after saving settings.json and none after restarting Windows Terminal) # Expected behavior For any displayed file name absent of any delimiter chars shown above, the entire file name should be selected / inverted. # Actual behavior Selection / inversion includes characters only up to the first occurrence of '.' or '-' in both directions.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 01:58:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9578