Command line focus-pane to split #8026

Open
opened 2026-01-31 01:18:54 +00:00 by claunia · 0 comments
Owner

Originally created by @chechorincon on GitHub (May 8, 2020).

It would be great to have a focus-pane option from the command line, so you can start wt with some layouts that currently are almost impossible (2x2 splitted, 3x3, and so on) and be able to pass parameters to a specific pane (not tab)

Right now, (as far as I´ve found and searched) there is a way to start wt from the command line and split the pane (H or V), but when you append a new split-pane, it splits the last (Current) pane. So if you want to split, from the command line, the tab to have a layout of 2x2 panes or 3x3 panes, its not possible. With a focus-pane option, each pane should have an ID, so at the command line you can tell to what paneID you want to split.

Proposed technical implementation details (optional)

Originally created by @chechorincon on GitHub (May 8, 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! --> It would be great to have a focus-pane option from the command line, so you can start wt with some layouts that currently are almost impossible (2x2 splitted, 3x3, and so on) and be able to pass parameters to a specific pane (not tab) <!-- 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). --> Right now, (as far as I´ve found and searched) there is a way to start wt from the command line and split the pane (H or V), but when you append a new split-pane, it splits the last (Current) pane. So if you want to split, from the command line, the tab to have a layout of 2x2 panes or 3x3 panes, its not possible. With a focus-pane option, each pane should have an ID, so at the command line you can tell to what paneID you want to split. # 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:18:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8026