"wt split-pane" and "wt new-tab" commands always open a new window #6903

Closed
opened 2026-01-31 00:50:02 +00:00 by claunia · 3 comments
Owner

Originally created by @davidjade on GitHub (Mar 16, 2020).

Environment

Microsoft Windows [Version 10.0.18363.657]
Windows Terminal (Preview) Version: 0.9.433.0


No other software involved that I can determine

Steps to reproduce

run wt new-tab
or
run wt split-pane

Expected behavior

Operate per the docs:

for new-tab
Opens a new tab with the given customizations. On its first invocation, also opens a new window. Subsequent new-tab commands will all open new tabs in the same window.

for split-pane
Creates a new pane in the currently focused tab by splitting the given pane vertically or horizontally.

Actual behavior

Each "new-tab" or "split-pane" opens a new window every time. I've tried every launch combination I can think of but I always get a new window with the new tab or split pane.

Originally created by @davidjade on GitHub (Mar 16, 2020). # Environment ```none Microsoft Windows [Version 10.0.18363.657] Windows Terminal (Preview) Version: 0.9.433.0 No other software involved that I can determine ``` # Steps to reproduce run wt new-tab or run wt split-pane # Expected behavior Operate per the docs: for new-tab _Opens a new tab with the given customizations. On its first invocation, also opens a new window. **Subsequent new-tab commands will all open new tabs in the same window.**_ for split-pane _Creates a new pane in the **currently focused tab** by splitting the given pane vertically or horizontally._ # Actual behavior Each "new-tab" or "split-pane" opens a new window every time. I've tried every launch combination I can think of but I always get a new window with the new tab or split pane.
claunia added the Resolution-Duplicate label 2026-01-31 00:50:02 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 16, 2020):

/dup #4472

@DHowett-MSFT commented on GitHub (Mar 16, 2020): /dup #4472
Author
Owner

@ghost commented on GitHub (Mar 16, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 16, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 16, 2020):

The docs are correct here:

Opens a new tab with the given customizations. On its first invocation, also opens a new window. Subsequent new-tab commands will all open new tabs in the same window.

On its first invocation in a single wt.exe command

@DHowett-MSFT commented on GitHub (Mar 16, 2020): The docs are correct here: > Opens a new tab with the given customizations. **On its first invocation,** also opens a new window. Subsequent new-tab commands will all open new tabs in the same window. On its first invocation _in a single wt.exe command_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6903