# visual-bell

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/visual-bell/

> If on, a message is shown on a bell in a window for which the monitor-bell window option is enabled instead of it being passed through to the terminal (which normally makes a sound).

option tmux3.2a

If on, a message is shown on a bell in a window for which the monitor-bell window option is enabled instead of it being passed through to the terminal (which normally makes a sound).

* Scope

  session

* Type

  Choice

* Default

  `off`

* Values

  `off` `on` `both`

* Set

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

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `visual-bell`

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

If on, a message is shown on a bell in a window for which the [`monitor-bell`](https://libtmux.org/en/tmux/3.2a/catalog/options/monitor-bell/) window option is enabled instead of it being passed through to the terminal (which normally makes a sound). If set to both, a bell and a message are produced. Also see the [`bell-action`](https://libtmux.org/en/tmux/3.2a/catalog/options/bell-action/) option.

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

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

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

* Defined in

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

* 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-visual-bell)

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

Library documentation that names this option.

* Python

  [`libtmux.options.convert_values`](https://libtmux.org/en/py/latest/reference/libtmux-options-convert_values/)

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetVisualBell`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setvisualbell/), [`tmux.Session.SetVisualBell`](https://libtmux.org/en/go/latest/reference/tmux-session-setvisualbell/), [`tmux.SessionOptionValues.VisualBell`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-visualbell/), [`tmux.VisualBell`](https://libtmux.org/en/go/latest/reference/tmux-visualbell/)
