[PR #1685] #1536 - Feature Request - Duplicate tab #24641

Open
opened 2026-01-31 09:04:31 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/1685

State: closed
Merged: Yes


Added keybinding option to duplicate focused tab

Summary of the Pull Request

Added necessary delcarations and implmentations to provide a new keybinding for duplicating the focused tab.

References

PR Checklist

  • Closes Why are my profile icons blurry (#1536)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed N/A
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #1536

Detailed Description of the Pull Request / Additional comments

As discussed in this issue, a simple implementation for duplicating the focused tab was made by me.
I added the needed declarations for the new keybinding and added a method to duplicate the focused tab in App.cpp.

Validation Steps Performed

  • Add keybinding element to profiles.json
    • "command" : "duplicateTab"
    • "keys": [ "ctrl+shift+d" ]
  • Open Terminal
  • Verify other features and functionalities work as usual without unexpected behaviour
  • Use configured keybinding to validate the duplication of the focused tab
**Original Pull Request:** https://github.com/microsoft/terminal/pull/1685 **State:** closed **Merged:** Yes --- Added keybinding option to duplicate focused tab ## Summary of the Pull Request Added necessary delcarations and implmentations to provide a new keybinding for duplicating the focused tab. ## References ## PR Checklist * [x] Closes #1536 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests <del>added/passed</del> N/A * [ ] Requires documentation to be updated * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #1536 ## Detailed Description of the Pull Request / Additional comments As discussed in this issue, a simple implementation for duplicating the focused tab was made by me. I added the needed declarations for the new keybinding and added a method to duplicate the focused tab in `App.cpp`. ## Validation Steps Performed * Add keybinding element to `profiles.json` * `"command" : "duplicateTab"` * `"keys": [ "ctrl+shift+d" ]` * Open Terminal * Verify other features and functionalities work as usual without unexpected behaviour * Use configured keybinding to validate the duplication of the focused tab
claunia added the pull-request label 2026-01-31 09:04:31 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24641