Skip to content

Duplicate tab should create a new tab next to the original #20355

Description

Description of the new feature

At the moment, "Position of newly created tabs" allows "After the last tab" and "After the current tab". I prefer "After the last tab". However, when duplicating the current tab (expressly with "Duplicate tab", Ctrl+Shift+d), I find myself almost always dragging the new tab next to its original. It would be nice to have an intermediate setting (e.g. "After last except duplicates") that would behave like "After last", except it would behave like "After current" for tabs created with "Duplicate tab".

Proposed technical implementation details

Implementing this would likely require that the information of whether the new tab creation was requested with the "Duplicate tab" command (and not e.g. by selecting the same profile again) survives to the point when the tab's location is decided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions