# status-right-length

Source: https://libtmux.org/en/tmux/latest/catalog/options/status-right-length/

> Set the maximum length of the right component of the status line.

option tmux3.7c

Set the maximum length of the right component of the status line.

* Scope

  session

* Type

  Number

* Default

  `40`

* Values

  0 to 32767

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `status-right-length value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `status-right-length`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/status-right-length/#description)

Set the maximum `length` of the right component of the status line. The default is 40.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/status-right-length/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/status-right-length/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/status-right-length/) : present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/status-right-length/#source)

* Defined in

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

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#options-status-right-length)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/options/status-right-length/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetStatusRightLength`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setstatusrightlength/), [`tmux.Session.SetStatusRightLength`](https://libtmux.org/en/go/latest/reference/tmux-session-setstatusrightlength/), [`tmux.SessionOptionValues.StatusRightLength`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-statusrightlength/)
