# pane-border-format

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/pane-border-format/

> Set the text shown in pane border status lines.

option tmux3.7c

Set the text shown in pane border status lines.

* Scope

  window, pane

* Type

  Text

* Default

  Show the default

  ```
  #{?pane_active,#[reverse],}#{pane_index}#[default] "#{pane_title}"#{?#{mouse},#[align=right]#[range=control|8][#{?#{window_zoomed_flag},u,z}]#[norange]#[range=control|9][x]#[norange],}
  ```

* Set

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

* Read

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

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

Set the text shown in pane border status lines.

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

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/pane-border-format/) : scope window to window, pane; default a longer value to a longer value
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/pane-border-format/) : present

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

* Defined in

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

* 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-pane-border-format)

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

Library documentation that names this option.

* TypeScript

  [`pane.Pane.setTitle`](https://libtmux.org/en/ts/latest/reference/pane-pane-settitle/)

* Rust

  [`options.generated.PANE_BORDER_FORMAT`](https://libtmux.org/en/rs/latest/reference/options-generated-pane_border_format/), [`version.PANE_BORDER_FORMAT_PER_PANE`](https://libtmux.org/en/rs/latest/reference/version-pane_border_format_per_pane/)

* Go

  [`tmux.GlobalWindowScope.SetPaneBorderFormat`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setpaneborderformat/), [`tmux.Pane.SetPaneBorderFormat`](https://libtmux.org/en/go/latest/reference/tmux-pane-setpaneborderformat/), [`tmux.PaneOptionValues.PaneBorderFormat`](https://libtmux.org/en/go/latest/reference/tmux-paneoptionvalues-paneborderformat/), [`tmux.Window.SetPaneBorderFormat`](https://libtmux.org/en/go/latest/reference/tmux-window-setpaneborderformat/), [`tmux.WindowOptionValues.PaneBorderFormat`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-paneborderformat/)
