# pane-scrollbars

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

> When enabled, a character based scrollbar appears on the left or right of each pane.

option tmux3.7c

When enabled, a character based scrollbar appears on the left or right of each pane.

* Scope

  window

* Type

  Choice

* Default

  `off`

* Values

  `off` `modal` `on`

* Set

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

* Read

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

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

When enabled, a character based scrollbar appears on the left or right of each pane. A filled section of the scrollbar, known as the ‘`slider`’, represents the position and size of the visible part of the pane content.

If set to `on` the scrollbar is visible all the time. If set to `modal` the scrollbar only appears when the pane is in copy mode or view mode. When the scrollbar is visible, the pane is narrowed by the width of the scrollbar and the text in the pane is reflowed. If set to `modal`, the pane is narrowed only when the scrollbar is visible.

See also [`pane-scrollbars-style`](https://libtmux.org/en/tmux/3.7c/catalog/options/pane-scrollbars-style/).

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

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

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

* Defined in

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

* 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-scrollbars)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetPaneScrollbars`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setpanescrollbars/), [`tmux.PaneScrollbars`](https://libtmux.org/en/go/latest/reference/tmux-panescrollbars/), [`tmux.Window.SetPaneScrollbars`](https://libtmux.org/en/go/latest/reference/tmux-window-setpanescrollbars/), [`tmux.WindowOptionValues.PaneScrollbars`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-panescrollbars/)
