# window_end_flag

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

> 1 if window has the highest index

format variable tmux3.7c

1 if window has the highest index

* Scope

  Describes the window being formatted

* Type

  Text

* Usage

  `#{window_end_flag}`

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

1 if window has the highest index

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

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

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

* Defined in

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

* C source reference

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

* CLI Manual

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

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

Library documentation that names this format variable.

* Go

  [`tmux.FormatValues.WindowEndFlag`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-windowendflag/), [`tmux.Window.EndFlag`](https://libtmux.org/en/go/latest/reference/tmux-window-endflag/)
