wt -w 0 sp -s 0.4 pwsh
opens a new tab and THEN splits it
#18815
Labels
Area-Commandline
wt.exe's commandline arguments
Area-Windowing
Window frame, quake mode, tearout
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.23.10732.0
Windows build number
10.0.26100.0
Other Software
No response
Steps to reproduce
When both WT stable and WT preview are both installed, running
wt -w 0 sp -s 0.4 pwsh
in WT preview will start a WT stable window (or use an existing WT stable window) and split the tab in it.Even when using the WT preview specific
wt.exe
, it still doesn't work properly -- it starts a new tab in the current WT preview window and split that tab, while the expectation is that it will split the current tab.The command
wt -w 0 sp -s 0.4 pwsh
works as expected when running in WT stable.For reference, this behavior was reported in PowerShell/AIShell#363
Expected Behavior
Running
wt -w 0 sp -s 0.4 pwsh
should split the current tab in the current WT window, regardless of in WT stable or WT preview.The text was updated successfully, but these errors were encountered: