# pane_active

Source: https://libtmux.org/en/tmux/latest/catalog/formats/pane_active/

> 1 if active pane

format variable tmux3.7c

1 if active pane

* Scope

  Describes the pane being formatted

* Type

  Text

* Usage

  `#{pane_active}`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/formats/pane_active/#description)

1 if active pane

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/formats/pane_active/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/formats/pane_active/#source)

* Defined in

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

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#pane_active)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/formats/pane_active/#used-by)

Library documentation that names this format variable.

* Julia

  [`LibTmux.read_formats`](https://libtmux.org/en/julia/latest/reference/libtmux-read_formats/)

* TypeScript

  [`session.Session.activePane`](https://libtmux.org/en/ts/latest/reference/session-session-activepane/), [`window.Window.activePane`](https://libtmux.org/en/ts/latest/reference/window-window-activepane/)

* Go

  [`tmux.FormatValues.PaneActive`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-paneactive/), [`tmux.Pane.Active`](https://libtmux.org/en/go/latest/reference/tmux-pane-active/)
