microsoft / microsoft/terminal

[Command Prompt] : User is not able to Select commands using 'Shift+ right/Left arrow keys' inside Command Prompt.

Open
#11,985 13 comments 0 reactions 0 assignees View on GitHub
A11yCO A11yUsable Area-Accessibility HCL-E+D HCL-WindowsTerminal Issue-Bug Product-Terminal WindowsTerminal_Win32
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.12.3472.0

### Windows build number

22509.1011

### Other Software

**Test Environment: **
OS: Windows 11 Version Dev (OS Build 22509.1011)
App: Windows Terminal Preview
Screen Reader: Narrator

### Steps to reproduce

**Repro Steps:**

1.Open Windows Terminal.
2.Open 'Command prompt' using 'Ctrl + Shift + 2' keys.
3.Now type any text in text-area of 'Command prompt'.
4.Now try to select the command text using 'Shift + right/left arrow'.
5.Observe the issue.

**Users Experience**
Users who rely on keyboard will get impacted here & fail to use the 'Command prompt' effectively, if User is not able to Select commands using 'Shift+ right/Left arrow keys' inside Command Prompt.

**Attachment :**

[User is not able to Select commands using 'Shift+ right or Left arrow keys' inside Command Prompt..zip](https://github.com/microsoft/terminal/files/7733539/User.is.not.able.to.Select.commands.using.Shift%2B.rightLeft.arrow.keys.inside.Command.Prompt.zip)

### Expected Behavior

User should be able to Select commands using 'Shift+ right/Left arrow keys' inside Command Prompt, which is happening in 'Windows Power shell' tab.

### Actual Behavior

User is not able to Select commands using 'Shift+ right/Left arrow keys' inside Command Prompt.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a Windows Terminal Preview Command Prompt tab using the listed Windows build and the Shift+Right/Left Arrow steps. Compare selection behavior with a Windows PowerShell tab, then trace the Command Prompt keyboard and text-selection handling. Done means both Shift+Right and Shift+Left select command text as expected, including for keyboard users.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
accessibility, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.