libtmux Reference MCP Search
On this page

libtmux.server._fetch_or_empty

View as Markdown

Module
libtmux.server
Package
libtmux
Source
src/libtmux/server.py
_fetch_or_empty ( server : Server , list_cmd : str , kwargs : t.Any ) list[dict[str, t.Any]]
function [source]
function [source]
_fetch_or_empty

Wrap fetch_objs : treat a not-yet-started server as empty.

A fresh Server can be introspected via Server.sessions , Server.windows , etc. before the daemon is up. Other tmux errors, such as socket permission failures, still propagate.

0 declared, 0 inherited

Esc

Type to search.