Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

client.Client.attached_pane

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.

Costs one tmux command, as Self::attached_session describes.

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.