# monitor-activity

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

> Monitor for activity in the window.

option tmux3.7c

Monitor for activity in the window.

* Scope

  window

* Type

  Flag (on or off)

* Default

  `off`

* Set

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

* Read

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

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

Monitor for activity in the window. Windows with activity are highlighted in the status line.

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

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

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

* Defined in

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

* 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-monitor-activity)

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

Library documentation that names this option.

* Rust

  [`options.generated.MONITOR_ACTIVITY`](https://libtmux.org/en/rs/latest/reference/options-generated-monitor_activity/), [`window.Window.last_activity`](https://libtmux.org/en/rs/latest/reference/window-window-last_activity/)

* Go

  [`tmux.GlobalWindowScope.SetMonitorActivity`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setmonitoractivity/), [`tmux.Window.SetMonitorActivity`](https://libtmux.org/en/go/latest/reference/tmux-window-setmonitoractivity/), [`tmux.WindowOptionValues.MonitorActivity`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-monitoractivity/)

* C#

  [`LibTmux.Window.ActivityAlert`](https://libtmux.org/en/csharp/latest/reference/libtmux-window-activityalert/)
