# mode-style

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/mode-style/

> Set window modes style.

option tmux3.2a

Set window modes style.

* Scope

  window

* Type

  Text, style

* Default

  `bg=yellow,fg=black`

* Separator

  `,`

* Set

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

* Read

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

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

Set window modes style. For how to specify `style`, see the [STYLES](https://libtmux.org/en/tmux/3.2a/manual/full/#STYLES) section.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/mode-style/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/mode-style/) : default bg=yellow,fg=black to noattr,bg=yellow,fg=black
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/mode-style/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/mode-style/#source)

* Defined in

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

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

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/mode-style/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetModeStyle`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setmodestyle/), [`tmux.Window.SetModeStyle`](https://libtmux.org/en/go/latest/reference/tmux-window-setmodestyle/), [`tmux.WindowOptionValues.ModeStyle`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-modestyle/)
