Backward-delete-word (Ctrl+Backspace) does not follow wordDelimiters setting #6961

Open
opened 2026-01-31 00:51:42 +00:00 by claunia · 0 comments
Owner

Originally created by @tonys1110 on GitHub (Mar 18, 2020).

Environment:
Microsoft Windows [Version 10.0.18362.720] (cmd.exe)
Windows Terminal (Preview) Version: 0.10.761.0

Steps to reproduce

  1. Open defaults.json and profiles.json and note the value of the wordDelimiters settings (" /\()"'-.,:;<>!@#$%^&*|+=[]{}?\u2502" in my/default case). Note the presence of ''.
  2. Open Windows Terminal running cmd.exe.
  3. Begin to cd to a path like "cd \Windows\System32" but do not hit ENTER.
  4. Hit Ctrl-Backspace.

Expected behavior

Only the previous "word" (System32) as-defined by the wordDelimiters setting.

Actual behavior

The entire path is deleted (\Windows\System32) instead of just the previous "word" (System32) as-defined by the wordDelimiters setting.

Originally created by @tonys1110 on GitHub (Mar 18, 2020). Environment: Microsoft Windows [Version 10.0.18362.720] (cmd.exe) Windows Terminal (Preview) Version: 0.10.761.0 # Steps to reproduce 1. Open defaults.json and profiles.json and note the value of the wordDelimiters settings (" /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502" in my/default case). Note the presence of '\'. 2. Open Windows Terminal running cmd.exe. 3. Begin to cd to a path like "cd \Windows\System32" but do not hit ENTER. 4. Hit Ctrl-Backspace. # Expected behavior Only the previous "word" (System32) as-defined by the wordDelimiters setting. # Actual behavior The entire path is deleted (\Windows\System32) instead of just the previous "word" (System32) as-defined by the wordDelimiters setting.
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 00:51:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6961