Duplicate tab does not use the same command as the original tab #21785

Closed
opened 2026-01-31 07:54:50 +00:00 by claunia · 4 comments
Owner

Originally created by @cverbiest on GitHub (May 31, 2024).

Windows Terminal version

1.19.11213.0

Windows build number

10.0.19045.0

Other Software

ssh

Steps to reproduce

Start ssh session using
wt ssh user@domain.local@hostname -i ~/.ssh/id_rsa

Select "Duplicate tab" from the ssh session tab

A new tab is created using the default profile instead of a new ssh session

Expected Behavior

Duplicate tab should also duplicate the command used to start the tab. Duplicate a ssh tab creates new ssh tab

Actual Behavior

A default profile tab is created

Originally created by @cverbiest on GitHub (May 31, 2024). ### Windows Terminal version 1.19.11213.0 ### Windows build number 10.0.19045.0 ### Other Software ssh ### Steps to reproduce Start ssh session using `wt ssh user@domain.local@hostname -i ~/.ssh/id_rsa` Select "Duplicate tab" from the ssh session tab A new tab is created using the default profile instead of a new ssh session ### Expected Behavior Duplicate tab should also duplicate the command used to start the tab. Duplicate a ssh tab creates new ssh tab ### Actual Behavior A default profile tab is created
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:54:50 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (May 31, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (May 31, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Duplicate Tabs & Panes are not Duplicates (#11678)](https://github.com/microsoft/terminal/issues/11678), similarity score: 0.80 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@cverbiest commented on GitHub (May 31, 2024):

Seems to be related to https://github.com/microsoft/terminal/issues/5047 but that issue only mentions commandline in the comments

@cverbiest commented on GitHub (May 31, 2024): Seems to be related to https://github.com/microsoft/terminal/issues/5047 but that issue only mentions commandline in the comments
Author
Owner

@zadjii-msft commented on GitHub (May 31, 2024):

You know what, I'll give it to the bot. It did find a dupe, which pointed at the right one over in /dup #5047. That was nice.

Anywho, if you end up making a full profile for that ssh session, then yea, duplicate tab will work. But for this specific scenario, I'd follow and 👍 #5047. Thanks!

@zadjii-msft commented on GitHub (May 31, 2024): You know what, I'll give it to the bot. It did find a dupe, which pointed at the right one over in /dup #5047. That was nice. Anywho, if you end up making a full _profile_ for that ssh session, then yea, duplicate tab will work. But for this specific scenario, I'd follow and 👍 #5047. Thanks!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (May 31, 2024):

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!

@microsoft-github-policy-service[bot] commented on GitHub (May 31, 2024): 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! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21785