# loop_last_flag

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

> 1 if last window, pane, session, client in the W:, P:, S:, or L: loop

format variable tmux3.7c

1 if last window, pane, session, client in the W:, P:, S:, or L: loop

* Scope

  Describes the server being formatted

* Type

  Text

* Usage

  `#{loop_last_flag}`

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

1 if last window, pane, session, client in the W:, P:, S:, or L: loop

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

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

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

* Defined in

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

* C source reference

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

* CLI Manual

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