# window_active_clients

Source: https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/

> Number of clients viewing this window

format variable tmux3.7c

Number of clients viewing this window

* Scope

  Describes the window being formatted

* Type

  Text

* Usage

  `#{window_active_clients}`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/#description)

Number of clients viewing this window

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_active_clients/) : present

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/#source)

* Defined in

  [`format.c:3665`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3665)

* C source reference

  [`format_cb_window_active_clients`](https://libtmux.org/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_active_clients/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#window_active_clients)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_active_clients/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux.Window.display_message`](https://libtmux.org/en/py/latest/reference/libtmux-window-display_message/)

* Go

  [`tmux.FormatValues.WindowActiveClients`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-windowactiveclients/), [`tmux.Window.ActiveClients`](https://libtmux.org/en/go/latest/reference/tmux-window-activeclients/)
