# LibTmux.Pane.active

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-pane-active/

```elixir
LibTmux.Pane.active: LibTmux.Schema.observed(boolean()) = :unloaded
```

## In other ports

Whether this was the active pane when captured

| Port | API | Differs from Elixir |
| --- | --- | --- |
| Elixir | `LibTmux.Pane.active` | This page |
| Python | [`libtmux.Pane.pane_active`](/en/py/latest/reference/libtmux-pane-pane_active/) (attribute) | None recorded in the model |
| Ruby | [`LibTmux::PaneSnapshot#active?`](/en/ruby/latest/reference/libtmux-panesnapshot-active-io1n/) (method). Behavior: Captured records. | None recorded in the model |
| Lua | [`libtmux.SnapshotPane.active`](/en/lua/latest/reference/libtmux-snapshotpane-active/) (attribute) | None recorded in the model |
| Rust | [`pane.Pane.is_active`](/en/rs/latest/reference/pane-pane-is_active/) (method). Report whether this pane is the active one in its window. | None recorded in the model |
| Go | [`tmux.Pane.Active`](/en/go/latest/reference/tmux-pane-active/) (method). Active returns tmux #{pane_active} as bool from this Pane's materialized pane-scoped fields. | None recorded in the model |
| Java | [`io.github.libtmux.Pane.active`](/en/java/latest/reference/io-github-libtmux-pane-pane-active/) (method). Whether this was its window's active pane when captured. | None recorded in the model |
| C++ | [`libtmux::Pane::active`](/en/cxx/latest/reference/libtmux-pane-active-12uw/) (method) | readonly |
| Swift | [`Pane.isActive`](/en/swift/latest/reference/pane-isactive/) (property). The pane a command reaches when it names the window and stops there. | None recorded in the model |
| OCaml | [`Libtmux.Pane.active`](/en/ocaml/latest/reference/libtmux-pane-active/) (function) | None recorded in the model |
| Perl | [`LibTmux::Pane::active`](/en/perl/latest/reference/libtmux-pane-active/) (method). boolean. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | [`LibTmux::Model::Pane.active`](/en/raku/latest/reference/libtmux-model-pane-active/) (method). Captured pane_active; local bool access. | None recorded in the model |

No Haskell equivalent. No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent. no accessor; the field is read from `Pane.format`, tmux's own row

No C# equivalent. no equivalent on `Pane`

No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.
