On this page
client.Client.attached_window
- Module
- client
- Declared in
- Client
- Package
- libtmux
- Source
- crates/libtmux/src/client.rs
-
The current window of the session this client is attached to.
Not this client's own view. tmux keeps the current window on the session --
curwis a member ofstruct session, not ofstruct client-- so every client attached to one session reports the same window, and one client changing it changes it for all of them.Nonewhen 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