# pane-scrollbars-style

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

> Set the scrollbars style.

option tmux3.7c

Set the scrollbars style.

* Scope

  window, pane

* Type

  Text, style

* Default

  `bg=black,fg=white,width=1,pad=0`

* Separator

  `,`

* Set

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

* Read

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

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

Set the scrollbars style. For how to specify `style`, see the [STYLES](https://libtmux.org/en/tmux/3.7c/manual/full/#STYLES) section. The foreground colour is used for the slider, the background for the rest of the scrollbar. The `width` attribute sets the width of the scrollbar and the `pad` attribute the padding between the scrollbar and the pane. Other attributes are ignored.

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

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

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

* Defined in

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

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

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetPaneScrollbarsStyle`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setpanescrollbarsstyle/), [`tmux.Pane.SetPaneScrollbarsStyle`](https://libtmux.org/en/go/latest/reference/tmux-pane-setpanescrollbarsstyle/), [`tmux.PaneOptionValues.PaneScrollbarsStyle`](https://libtmux.org/en/go/latest/reference/tmux-paneoptionvalues-panescrollbarsstyle/), [`tmux.Window.SetPaneScrollbarsStyle`](https://libtmux.org/en/go/latest/reference/tmux-window-setpanescrollbarsstyle/), [`tmux.WindowOptionValues.PaneScrollbarsStyle`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-panescrollbarsstyle/)
