wt.exe should support -%,--percent for setting a pane's size on the commandline #8734

Open
opened 2026-01-31 01:36:40 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Jun 1, 2020).

Originally assigned to: @zadjii-msft on GitHub.

See also #4632.

This was in the spec but hasn't been implemented yet. Basically just wt ; split-pane -% 30 cmd to open the Terminal with two panes, one that's 70% of the available size, and the other that's got 30%.

Or wt ; split-pane -% 30 cmd, split-pane -% 70 wsl for three panes, one with 70/30 split, and the 30 is then split into 30/70, kinda like:

+-------------------+-------+
|                   |       |
|                   |       |
|                   +-------+
|                   |       |
|                   |       |
|                   |       |
|                   |       |
|                   |       |
|                   |       |
+-------------------+-------+

Originally created by @zadjii-msft on GitHub (Jun 1, 2020). Originally assigned to: @zadjii-msft on GitHub. See also #4632. This was in the spec but hasn't been implemented yet. Basically just `wt ; split-pane -% 30 cmd` to open the Terminal with two panes, one that's 70% of the available size, and the other that's got 30%. Or `wt ; split-pane -% 30 cmd, split-pane -% 70 wsl` for three panes, one with 70/30 split, and the 30 is then split into 30/70, kinda like: ``` +-------------------+-------+ | | | | | | | +-------+ | | | | | | | | | | | | | | | | | | +-------------------+-------+ ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8734