# window_format

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

> 1 if format is for a window

format variable tmux3.2a

1 if format is for a window

* Scope

  Describes the server being formatted

* Type

  Text

* Usage

  `#{window_format}`

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

1 if format is for a window

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

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

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

* Defined in

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

* C source reference

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

* CLI Manual

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

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

Library documentation that names this format variable.

* Go

  [`tmux.FormatValues.WindowFormat`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-windowformat/), [`tmux.Window.Format`](https://libtmux.org/en/go/latest/reference/tmux-window-format/)
