libtmux Reference MCP Search
On this page

session.Session.window

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
window ( self , name : impl AsRef<[u8]> ) Result<Option<Window>, Error>
method [source]
method [source]
window

Find this session's window with the given name.

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.

0 declared, 0 inherited

Esc

Type to search.