support shift+left, shift+right in wsl terminal #5716

Closed
opened 2026-01-31 00:19:56 +00:00 by claunia · 3 comments
Owner

Originally created by @stleusc on GitHub (Dec 28, 2019).

Description of the new feature/enhancement

Most if not all text editors allow shift+left, right and shift+ctrl+left, right to select character/word to then further copy it. Opening PowerShell in the new terminal actually does exactly that!
Opening Cmd acts as if only left/right were pressed.
Ubuntu WSL2 prints C/D.

Proposed technical implementation details (optional)

Add support for these very common shortcuts or provide guidance why powershell does work and the rest does not

Sidenote: Love what I see so far!

Originally created by @stleusc on GitHub (Dec 28, 2019). # Description of the new feature/enhancement Most if not all text editors allow shift+left, right and shift+ctrl+left, right to select character/word to then further copy it. Opening PowerShell in the new terminal actually does exactly that! Opening Cmd acts as if only left/right were pressed. Ubuntu WSL2 prints C/D. # Proposed technical implementation details (optional) Add support for these very common shortcuts or provide guidance why powershell does work and the rest does not Sidenote: Love what I see so far!
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 00:19:56 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Dec 28, 2019):

This is something you’ll have to configure with your shell. If you’re using bash, look into bindkey and .inputrc.

As a general rule: if powershell can do it inside Windows Terminal, so could another shell.

@DHowett-MSFT commented on GitHub (Dec 28, 2019): This is something you’ll have to configure with your shell. If you’re using bash, look into `bindkey` and `.inputrc`. As a general rule: if powershell can do it inside Windows Terminal, so could another shell.
Author
Owner

@riverar commented on GitHub (Mar 23, 2020):

@DHowett Can you provide some guidance here? What do users need to put into .inputrc? bash doesn't support this.

@riverar commented on GitHub (Mar 23, 2020): ~@DHowett Can you provide some guidance here? What do users need to put into `.inputrc`?~ bash doesn't support this.
Author
Owner

@myudak commented on GitHub (Nov 28, 2024):

so is there any solution? install another shell?

@myudak commented on GitHub (Nov 28, 2024): so is there any solution? install another shell?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5716