[PR #18022] Changed new tab index on tab close to next tab #31431

Closed
opened 2026-01-31 09:47:14 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


Summary of the Pull Request

Changed newSelectedIndex on tab close to tabIndex instead of tabIndex - 1.

References and Relevant Issues

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

tab_close_focus_right

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18022 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Changed newSelectedIndex on tab close to tabIndex instead of tabIndex - 1. ## References and Relevant Issues ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed ![tab_close_focus_right](https://github.com/user-attachments/assets/91ae7e61-1bba-4548-aac8-b5f4fa823429) ## PR Checklist - [x] Closes #17244 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:47:14 +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#31431