On this page
session.Session.active_window
- Module
- session
- Declared in
- Session
- Package
- libtmux
- Source
- crates/libtmux/src/session.rs
- Other languages
- PythonTypeScriptGoJava.NETC++ Swift
-
Return the session's active window.
Errors
Returns an error when the window listing fails. A session always has an active window, so
Ok(None)means the session disappeared between the snapshot and this call.Discussed in Traversal
In other languages The session's active window
- Python
libtmux.Session.active_window - TypeScript
session.Session.activeWindow - Go
tmux.Session.ActiveWindow - Java
io.github.libtmux.Session.Session.activeWindow - .NET
LibTmux.Session.ActiveWindow - C++
libtmux::Session::active_window - Swift no accessor; `Pane.isActive` is a flag on the pane, so the active one is found by filtering a listing
- Python
0 declared, 0 inherited