Skip to content

wezterm cli adjust-pane-size DIRECTION

Since: Version 20230712-072601-f4abf8fd

The functionality described in this section requires version 20230712-072601-f4abf8fd of wezterm, or a more recent version.

Run wezterm cli adjust-pane-size --help to see more help

Adjust the size of the current pane, or the pane specified by --pane-id, in the specified direction.

Possible values for DIRECTION are shown below; the direction is matched ignoring case so you can use left rather than Left:

  • Left, Right, Up, Down to adjust size based on direction

Synopsis

Adjust the size of a pane directionally

Usage: wezterm cli adjust-pane-size [OPTIONS] <DIRECTION>

Arguments:
  <DIRECTION>  Specify the direction to resize in [possible values: Up, Down,
               Left, Right, Next, Prev]

Options:
      --pane-id <PANE_ID>  Specify the target pane. The default is to use the
                           current pane based on the environment variable
                           WEZTERM_PANE
      --amount <AMOUNT>    Specify the number of cells to resize by, defaults to
                           1
  -h, --help               Print help