wezterm cli split-pane [prog...]

Split the current pane. Outputs the pane-id for the newly created pane on success

Arguments

NameDescription
prog

Options

NameDescription
--pane-id [pane-id]Specify the pane that should be split. The default is to use the current pane based on the environment variable WEZTERM_PANE
--cells [cells]The number of cells that the new split should have. If omitted, 50% of the available space is used
--percent [percent]Specify the number of cells that the new split should have, expressed as a percentage of the available space
--cwd [cwd]Specify the current working directory for the initially spawned program
--move-pane-id [move-pane-id]Instead of spawning a new command, move the specified pane into the newly created split
--horizontalEquivalent to `--right`. If neither this nor any other direction is specified, the default is equivalent to `--bottom`
--leftSplit horizontally, with the new pane on the left
--rightSplit horizontally, with the new pane on the right
--topSplit vertically, with the new pane on the top
--bottomSplit vertically, with the new pane on the bottom
--top-levelRather than splitting the active pane, split the entire window
-h, --helpPrint help information