Duplicate Tabs #10245

Closed
opened 2026-01-31 02:16:18 +00:00 by claunia · 5 comments
Owner

Originally created by @Hamcker on GitHub (Aug 20, 2020).

Description of the new feature/enhancement

Ability to duplicate a currently open tab, the new tab will open in the same address with the same color schema.

Proposed technical implementation details (optional)

I want a new option to be added to the context menu of tab (when user right clicks on the tab), which by clicking on it, a new with the same address will open.

Originally created by @Hamcker on GitHub (Aug 20, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Ability to duplicate a currently open tab, the new tab will open in the same address with the same color schema. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) I want a new option to be added to the context menu of tab (when user right clicks on the tab), which by clicking on it, a new with the same address will open. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:16:18 +00:00
Author
Owner

@DHowett commented on GitHub (Aug 21, 2020):

Thanks for the request! We actually do have a duplicate tab option today, on ctrl+shift+d, which you can rebind with the duplicateTab action.
We're also tracking being able to copy a tab's working directory to a new tab with /dup #3158.

@DHowett commented on GitHub (Aug 21, 2020): Thanks for the request! We actually do have a duplicate tab option today, on ctrl+shift+d, which you can rebind with the `duplicateTab` action. We're also tracking being able to copy a tab's working directory to a new tab with /dup #3158.
Author
Owner

@ghost commented on GitHub (Aug 21, 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 (Aug 21, 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 commented on GitHub (Aug 21, 2020):

In addition, the command palette can be used to look this up on 1.2+:

image

@DHowett commented on GitHub (Aug 21, 2020): In addition, the command palette can be used to look this up on 1.2+: ![image](https://user-images.githubusercontent.com/189190/90835514-af13bc00-e301-11ea-9910-30602163363e.png)
Author
Owner

@Hamcker commented on GitHub (Oct 1, 2020):

Thank you for your reply, this command doesn't route to the same addrsss.
for example In a tab I'm at the D:\Projects\Abcd\Docs, now I want to open a new tab in the same address, not shells default address. it would be usable I think

@Hamcker commented on GitHub (Oct 1, 2020): Thank you for your reply, this command doesn't route to the same addrsss. for example In a tab I'm at the `D:\Projects\Abcd\Docs`, now I want to open a new tab in the same address, not shells default address. it would be usable I think
Author
Owner
@zadjii-msft commented on GitHub (Oct 1, 2020): @Hamcker Sure won't - duplicating the current working directory of a tab is actually a **H**ard problem on Windows. I'd check out #3158 and https://github.com/microsoft/terminal/issues/1756#issuecomment-520048598 https://github.com/microsoft/terminal/issues/2315#issuecomment-519317472 https://github.com/microsoft/terminal/issues/1536#issuecomment-519107586 https://github.com/microsoft/terminal/issues/2427#issuecomment-523005110 for _why_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10245