Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Session.ActivePane

ActivePane returns the active pane in this session's materialized active window. It never queries tmux; use Session.ResolveActivePane for live state.

Source and package
Qualified name
tmux.Session.ActivePane
Package
tmux
Declared in
Session
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/relations.go
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRuby Lua TypeScript Rust JavaC#C++ Swift Kotlin Scala OCaml F# Clojure
func (s Session) ActivePane() (Pane, bool)

In other ports#

The active pane of a session's active window

Equivalents of The active pane of a session's active window in other languages
Language Equivalent
Python libtmux.Session.active_pane
Ruby LibTmux::WindowSnapshot#active_pane
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript session.Session.activePane
Rust no equivalent on Session
Java io.github.libtmux.Session.activePane
C# LibTmux.Session.ActivePane
C++ libtmux::Session::active_pane
Swift no equivalent on Session
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

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

Esc

Type to search.

Reference previewOpen reference