# window-status-format

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/window-status-format/

> Set the format in which the window is displayed in the status line window list.

option tmux3.2a

Set the format in which the window is displayed in the status line window list.

* Scope

  window

* Type

  Text

* Default

  `#I:#W#{?window_flags,#{window_flags}, }`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.2a/manual/set-option/) `-w window-status-format value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `-w window-status-format`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/options/window-status-format/#description)

Set the format in which the window is displayed in the status line window list. See the [FORMATS](https://libtmux.org/en/tmux/3.2a/manual/full/#FORMATS) and [STYLES](https://libtmux.org/en/tmux/3.2a/manual/full/#STYLES) sections.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/window-status-format/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/window-status-format/#source)

* Defined in

  [`options-table.c:1041`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L1041)

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#options-window-status-format)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/window-status-format/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetWindowStatusFormat`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setwindowstatusformat/), [`tmux.Window.SetWindowStatusFormat`](https://libtmux.org/en/go/latest/reference/tmux-window-setwindowstatusformat/), [`tmux.WindowOptionValues.WindowStatusFormat`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-windowstatusformat/)
