- Module
- window
- Declared in
- Window
- Package
- libtmux
- Source
- crates/libtmux/src/window/navigation.rs
- Other languages
- PythonTypeScriptGoJava.NETC++ Swift
-
Return the session this window was reached through.
This re-reads tmux rather than the snapshot, so a session renamed or removed since discovery is reported as it is now.
Ok(None)means the session no longer exists.Errors
Returns an error when the session listing fails.
Discussed in Traversal
In other ports Find the session containing a window placement
- Python
libtmux.Window.session - TypeScript
window.Window.session - Go
tmux.Window.Session - Java
io.github.libtmux.Window.Window.session - .NET
LibTmux.Window.Session - C++
libtmux::Window::session - Swift a Window has no single parent; Snapshot.sessions(of:) lists every linking session
- Python
0 declared, 0 inherited