Behavior change when call wt #15085

Closed
opened 2026-01-31 04:28:11 +00:00 by claunia · 7 comments
Owner

Originally created by @zimbres on GitHub (Sep 3, 2021).

Windows Terminal version (or Windows build number)

1.11.2421.0

Other Software

KeePass
SSH

Steps to reproduce

At URL Overrides of KeePass I use this command:

cmd://wt -w 0 nt ssh {USERNAME}@{URL:RMVSCM}

Expected Behavior

An wt PowerShell window or a new PowerShell table if a windows is already open executing the command ssh to defined host.

Actual Behavior

An wt SSH window or a new SSH table if a windows is already open executing the command ssh to defined host.

Originally created by @zimbres on GitHub (Sep 3, 2021). ### Windows Terminal version (or Windows build number) 1.11.2421.0 ### Other Software KeePass SSH ### Steps to reproduce At URL Overrides of KeePass I use this command: cmd://wt -w 0 nt ssh {USERNAME}@{URL:RMVSCM} ### Expected Behavior An wt PowerShell window or a new PowerShell table if a windows is already open executing the command ssh to defined host. ### Actual Behavior An wt SSH window or a new SSH table if a windows is already open executing the command ssh to defined host.
claunia added the Resolution-By-DesignNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 04:28:12 +00:00
Author
Owner

@WSLUser commented on GitHub (Sep 3, 2021):

If you establish a SSH profile, it's expected to run ssh.exe directly and bypass shell as it will open a shell in the remote environment (such as bash). You could create a powershell profile with the commandline option of ssh if you want but that's just unnecessary overhead. This behavior hasn't changed so likely something in your settings changed.

@WSLUser commented on GitHub (Sep 3, 2021): If you establish a SSH profile, it's expected to run ssh.exe directly and bypass shell as it will open a shell in the remote environment (such as bash). You could create a powershell profile with the commandline option of ssh if you want but that's just unnecessary overhead. This behavior hasn't changed so likely something in your settings changed.
Author
Owner

@DHowett commented on GitHub (Sep 3, 2021):

@WSLUser I believe the report is, "wt -w 0 no longer uses the existing window" 😄

@DHowett commented on GitHub (Sep 3, 2021): @WSLUser I believe the report is, "`wt -w 0` no longer uses the existing window" :smile:
Author
Owner

@WSLUser commented on GitHub (Sep 3, 2021):

I saw SSH and see description regarding SSH and didn't realize it had nothing to do with SSH. A simpler repro would have been nice.

@WSLUser commented on GitHub (Sep 3, 2021): I saw SSH and see description regarding SSH and didn't realize it had nothing to do with SSH. A simpler repro would have been nice.
Author
Owner

@zimbres commented on GitHub (Sep 3, 2021):

I dont have any SSH profile.
Befere, calling "wt -w 0 nt ssh" opens a PS windows e execute ssh in PS, now opens a ssh window...

@zimbres commented on GitHub (Sep 3, 2021): I dont have any SSH profile. Befere, calling "wt -w 0 nt ssh" opens a PS windows e execute ssh in PS, now opens a ssh window...
Author
Owner

@zimbres commented on GitHub (Sep 3, 2021):

I realize now a "Defaults" Profile, is this existing before? My command is now calling this profile instead of Windows Power Shell Profile.

@zimbres commented on GitHub (Sep 3, 2021): I realize now a "Defaults" Profile, is this existing before? My command is now calling this profile instead of Windows Power Shell Profile.
Author
Owner

@DHowett commented on GitHub (Sep 3, 2021):

OH. So it does open in a new tab in the same window.

In 1.11, we changed the behavior of "nt" so that it uses a base profile that doesn't have any special customizations -- this is because it was confusing for users. In 1.10, if you run "wt cmd" you get a Command Prompt window, but the title says PowerShell and the icon is PowerShell.

@DHowett commented on GitHub (Sep 3, 2021): **OH**. So it _does_ open in a new tab in the same window. In 1.11, we changed the behavior of "nt" so that it uses a base profile that doesn't have any special customizations -- this is because it was confusing for users. In 1.10, if you run "wt cmd" you get a Command Prompt window, but the title says PowerShell and the icon is PowerShell.
Author
Owner

@zimbres commented on GitHub (Sep 3, 2021):

Got it. Tks.

@zimbres commented on GitHub (Sep 3, 2021): Got it. Tks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15085