Pressing ``Alt + Shift + -`` on a WSL tab opens a powershell instance #18428

Closed
opened 2026-01-31 06:13:41 +00:00 by claunia · 2 comments
Owner

Originally created by @notdanhan on GitHub (Sep 13, 2022).

Windows Terminal version

1.14.2281.0

Windows build number

10.0.19044.0

Other Software

WSL2 running Ubuntu 20.04 LTS

Steps to reproduce

Open a WSL Tab
Perform a horizontal split Alt + Shift + -

Expected Behavior

Another bash prompt in the lower area

Actual Behavior

A Powershell prompt appeared.
If I perform a vertical split, it has the correct behavior.

Originally created by @notdanhan on GitHub (Sep 13, 2022). ### Windows Terminal version 1.14.2281.0 ### Windows build number 10.0.19044.0 ### Other Software WSL2 running Ubuntu 20.04 LTS ### Steps to reproduce Open a WSL Tab Perform a horizontal split ```Alt + Shift + -``` ### Expected Behavior Another bash prompt in the lower area ### Actual Behavior A Powershell prompt appeared. If I perform a vertical split, it has the correct behavior.
Author
Owner

@237dmitry commented on GitHub (Sep 13, 2022):

This keyboard shortcut opens the default profile in new split pane. I think you have to duplicate pane Alt-Shift-d

    {
      "command": {
        "action": "splitPane",
        "split": "auto",             // horizontal, vertical
        "splitMode": "duplicate"
      },
      "keys": "alt+shift+d"
    },
@237dmitry commented on GitHub (Sep 13, 2022): This keyboard shortcut opens the default profile in new split pane. I think you have to duplicate pane `Alt-Shift-d` ``` { "command": { "action": "splitPane", "split": "auto", // horizontal, vertical "splitMode": "duplicate" }, "keys": "alt+shift+d" }, ```
Author
Owner

@zadjii-msft commented on GitHub (Sep 13, 2022):

Yep, that's correct!

@zadjii-msft commented on GitHub (Sep 13, 2022): Yep, that's correct!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18428