client.Client.attached_pane
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- client
- Declared in
- Client
- Package
- libtmux
- Source
- crates/libtmux/src/client.rs
-
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.Nonewhen the client is attached to nothing.Costs one tmux command, as
Self::attached_sessiondescribes.Errors
Returns an error when tmux cannot be reached, or answers with an ID this crate cannot parse.
0 declared, 0 inherited