Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make duplicate tabs consider the existing configuration option for its insertion #15972

Conversation

codecruisedor
Copy link
Contributor

@codecruisedor codecruisedor commented Sep 16, 2023

Previously, the duplication method considered only the next to the selected tab(tab.TabViewIndex() + 1) as the insert position. Changed that to consider the setting.

Closes #15776

Previously, the method considered the end of the _tabs vector as insert position. Changed that as required.
@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Task It's a feature request, but it doesn't really need a major design. Area-Settings Issues related to settings and customizability, for console or terminal Product-Terminal The new Windows Terminal. labels Sep 16, 2023
@carlos-zamora
Copy link
Member

@codecruisedor Looks great! Thanks for contributing!

@carlos-zamora carlos-zamora merged commit 5f9624f into microsoft:main Sep 18, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce an option to configure where duplicated tabs open
4 participants