Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.window

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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.