Session.window
Find this session's window with the given name.
Source and package
- Qualified name
-
libtmux::session:: Session:: window - Module
- session
- Declared in
Session- Package
- libtmux
- Source
- crates/libtmux/src/session.rs
-
Description#
Names are compared as bytes. A session can hold several windows with one name, in which case the first in tmux's order is returned.
Errors
Returns an error when the window listing fails.