libtmux Reference MCP Search
On this page

client.Client.attached_pane

View as Markdown

Module
client
Declared in
Client
Package
libtmux
Source
crates/libtmux/src/client.rs
attached_pane ( self ) Result<Option<crate::Pane>, Error>
method [source]
method [source]
attached_pane

The active pane of the current window of this client's session.

Shares the caveat on Self::attached_window, and adds one: this is the window's active pane, not a per-client focus, because tmux does not keep one. Two clients on the same session always report the same pane.

None when the client is attached to nothing.

Errors

Returns an error when tmux cannot be reached, or answers with an ID this crate cannot parse.

0 declared, 0 inherited

Esc

Type to search.