# client_session

Source: https://libtmux.org/en/tmux/3.2a/catalog/formats/client_session/

> Name of the client's session

format variable tmux3.2a

Name of the client's session

* Scope

  Describes the client being formatted

* Type

  Text

* Usage

  `#{client_session}`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/client_session/#description)

Name of the client's session

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/client_session/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/client_session/#source)

* Defined in

  [`format.c:2591`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L2591)

* C source reference

  [`format_cb_client_session`](https://libtmux.org/en/tmux/3.2a/reference/c-function-format-c-format_cb_client_session/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#client_session)

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

Library documentation that names this format variable.

* Python

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

* Rust

  [`client.Client.attached_session`](https://libtmux.org/en/rs/latest/reference/client-client-attached_session/)

* Go

  [`tmux.Client.Session`](https://libtmux.org/en/go/latest/reference/tmux-client-session/), [`tmux.FormatValues.ClientSession`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-clientsession/)
