ctrl+arrow keys doesn't stop on word delimiter @ #20051

Closed
opened 2026-01-31 07:01:52 +00:00 by claunia · 2 comments
Owner

Originally created by @clopnaz on GitHub (Jun 8, 2023).

Windows Terminal version

1.16.10261.0

Windows build number

Version 10.0.19045.3031

Other Software

PowerShell 7.3.4 tab

Steps to reproduce

  1. type word@word
  2. press ctrl+left arrow

Expected Behavior

cursor stops at @

Actual Behavior

cursor moves to beginning of line

Originally created by @clopnaz on GitHub (Jun 8, 2023). ### Windows Terminal version 1.16.10261.0 ### Windows build number Version 10.0.19045.3031 ### Other Software PowerShell 7.3.4 tab ### Steps to reproduce 1. type `word@word` 2. press `ctrl`+`left arrow` ### Expected Behavior cursor stops at @ ### Actual Behavior cursor moves to beginning of line
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:01:52 +00:00
Author
Owner

@j4james commented on GitHub (Jun 8, 2023):

This is not something that the terminal controls, but you can configure this in PowerShell with the -WordDelimiters option. See the Set-PSReadLineOption documentation here.

@j4james commented on GitHub (Jun 8, 2023): This is not something that the terminal controls, but you can configure this in PowerShell with the `-WordDelimiters` option. See the `Set-PSReadLineOption` documentation [here](https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.3#-worddelimiters).
Author
Owner

@carlos-zamora commented on GitHub (Jun 10, 2023):

Thanks for filing! Yeah, as James said, this isn't controlled by Windows Terminal. It's a shell (specifically, PowerShell) feature. Closing!

@carlos-zamora commented on GitHub (Jun 10, 2023): Thanks for filing! Yeah, as James said, this isn't controlled by Windows Terminal. It's a shell (specifically, PowerShell) feature. Closing!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20051