# other-pane-height

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/

> Set the height of the other panes (not the main pane) in the main-horizontal and main-horizontal-mirrored layouts.

option tmux3.7c

Set the height of the other panes (not the main pane) in the main-horizontal and main-horizontal-mirrored layouts.

* Scope

  window

* Type

  Text

* Default

  `0`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.7c/manual/set-option/) `-w other-pane-height value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.7c/manual/show-options/) `-w other-pane-height`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/#description)

Set the height of the other panes (not the main pane) in the `main-horizontal` and `main-horizontal-mirrored` layouts. If this option is set to 0 (the default), it will have no effect. If both the [`main-pane-height`](https://libtmux.org/en/tmux/3.7c/catalog/options/main-pane-height/) and `other-pane-height` options are set, the main pane will grow taller to make the other panes the specified height, but will never shrink to do so. If suffixed by ‘`%`’, this is a percentage of the window size.

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/other-pane-height/) : present

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/#source)

* Defined in

  [`options-table.c:1299`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options-table.c#L1299)

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.7c/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#options-other-pane-height)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/options/other-pane-height/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.OTHER_PANE_HEIGHT`](https://libtmux.org/en/rs/latest/reference/options-generated-other_pane_height/)

* Go

  [`tmux.GlobalWindowScope.SetOtherPaneHeight`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setotherpaneheight/), [`tmux.Window.SetOtherPaneHeight`](https://libtmux.org/en/go/latest/reference/tmux-window-setotherpaneheight/), [`tmux.WindowOptionValues.OtherPaneHeight`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-otherpaneheight/)
