-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Duplicated tab should be next to original tab #14313
Comments
When was that setting added? My 1.15 doesn't have it. |
This was introduced in #13421 which is part of 1.16 (currently in Windows Terminal Preview).
Ah now I got it! |
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Added an additional optional parameter that indicates the position of the new tab being created. https://user-images.githubusercontent.com/17508246/206831900-d8349fb6-4241-4c37-8dd8-e1645ba94c90.mp4 https://user-images.githubusercontent.com/17508246/206831949-02e4156e-f471-4d2f-b54b-3b0d294c62fe.mp4 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #14313 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Tests added/passed <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments An optional parameter is added to TerminalPage::_CreateNewTabPane() and TerminalPage::_InitializeTab() which indicates the insert position of the duplicated tab. During a new tab creation (not duplicate), this optional parameter has a default value(-1) and the new tab is inserted at the end. The duplicated tab is inserted next to the original one even if it is not focused. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Created different tabs and duplicated them. Duplicated tabs that are focused and not focused.
🎉This issue was addressed in #14521, which has now been successfully released as Handy links: |
Currently the duplicated tab is added on the far right, IMO it should be next to the original tab.
The text was updated successfully, but these errors were encountered: