libtmux Reference MCP Search
On this page

server.discovery.Server.windows_or_empty

View as Markdown

Module
server.discovery
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/discovery.rs
windows_or_empty ( self ) Vec<Window>
method [source]
method [source]
windows_or_empty

List every window on the server, in tmux's own order.

A window linked into several sessions appears once per link, so a window id can repeat. See [Window] for what that means for equality.

This is the lenient form; use Server::windows when the reason for an empty result matters.

0 declared, 0 inherited

Esc

Type to search.