wt focus-tab opens a new tab #23595

Closed
opened 2026-01-31 08:46:47 +00:00 by claunia · 2 comments
Owner

Originally created by @Aziks0 on GitHub (Sep 6, 2025).

Windows Terminal version

1.23.12371.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

Open terminal (tab 0), open a new tab (tab 1), call wt focus-tab -p in the new tab.

Expected Behavior

Terminal should focus the tab 0.

Actual Behavior

A new tab is opened (tab 2) and the focus goes to tab 1.

Note that the issue was not present on v1.22.12111.0.

Originally created by @Aziks0 on GitHub (Sep 6, 2025). ### Windows Terminal version 1.23.12371.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce Open terminal _(tab 0)_, open a new tab _(tab 1)_, call `wt focus-tab -p` in the new tab. ### Expected Behavior Terminal should focus the tab 0. ### Actual Behavior A new tab is opened _(tab 2)_ and the focus goes to tab 1. Note that the issue was not present on v1.22.12111.0.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 08:46:48 +00:00
Author
Owner

@DHowett commented on GitHub (Sep 10, 2025):

Thanks for the report! Looks like it's a /duplicate of #18815

@DHowett commented on GitHub (Sep 10, 2025): Thanks for the report! Looks like it's a /duplicate of #18815
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Sep 10, 2025):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Sep 10, 2025): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23595