focus-pane command line option #7852

Closed
opened 2026-01-31 01:14:16 +00:00 by claunia · 2 comments
Owner

Originally created by @eronnen on GitHub (Apr 30, 2020).

Description of the new feature/enhancement

When opening the terminal with multiple panes in a tab, with a command line like "wt.exe split-pane -V; split-pane -H", the focus in the tab will always be on the last opened pane.

I think it would be useful to add a command line option of "focus-pane", similar to the existing option "focus-tab", so I could choose which pane will have the focus right after the tab is opened.

Originally created by @eronnen on GitHub (Apr 30, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement When opening the terminal with multiple panes in a tab, with a command line like "wt.exe split-pane -V; split-pane -H", the focus in the tab will always be on the last opened pane. I think it would be useful to add a command line option of "focus-pane", similar to the existing option "focus-tab", so I could choose which pane will have the focus right after the tab is opened. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> <!--# Proposed technical implementation details (optional)--> <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:14:16 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Thanks for the request! This is a /dupe of #5464.

@DHowett-MSFT commented on GitHub (May 1, 2020): Thanks for the request! This is a /dupe of #5464.
Author
Owner

@ghost commented on GitHub (May 1, 2020):

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!

@ghost commented on GitHub (May 1, 2020): 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7852