# other-pane-height

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/other-pane-height/

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

option tmux3.2a

Set the height of the other panes (not the main pane) in the main-horizontal layout.

* Scope

  window

* Type

  Text

* Default

  `0`

* Set

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

* Read

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

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

Set the height of the other panes (not the main pane) in the `main-horizontal` layout. 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.2a/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.2a/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.2a/catalog/options/other-pane-height/#source)

* Defined in

  [`options-table.c:894`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L894)

* C source reference

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

* CLI Manual

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

## Used by[#](https://libtmux.org/en/tmux/3.2a/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/)
