# visual-activity

Source: https://libtmux.org/en/tmux/latest/catalog/options/visual-activity/

> If on, display a message instead of sending a bell when activity occurs in a window for which the monitor-activity window option is enabled.

option tmux3.7c

If on, display a message instead of sending a bell when activity occurs in a window for which the monitor-activity window option is enabled.

* Scope

  session

* Type

  Choice

* Default

  `off`

* Values

  `off` `on` `both`

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `visual-activity value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `visual-activity`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/visual-activity/#description)

If on, display a message instead of sending a bell when activity occurs in a window for which the [`monitor-activity`](https://libtmux.org/en/tmux/latest/catalog/options/monitor-activity/) window option is enabled. If set to both, a bell and a message are produced.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/visual-activity/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/visual-activity/#source)

* Defined in

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

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/latest/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#options-visual-activity)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetVisualActivity`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setvisualactivity/), [`tmux.Session.SetVisualActivity`](https://libtmux.org/en/go/latest/reference/tmux-session-setvisualactivity/), [`tmux.SessionOptionValues.VisualActivity`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-visualactivity/), [`tmux.VisualActivity`](https://libtmux.org/en/go/latest/reference/tmux-visualactivity/)
