libtmux Reference MCP Search
On this page

tmux.Session.Windows

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
PythonTypeScriptRustJava.NETC++Swift
Windows ( ) ([]Window, bool)
method [source]
method [source]
Windows

Windows returns newly allocated shallow copies of this snapshot record's winlink views, and reports whether the receiver carries relations at all.

It never queries tmux. Server.Snapshot and the resolvers carry relations; a targeted lookup, refresh, or creation reports false rather than an empty relation. Use Session.SearchWindows for current live windows.

Discussed in Traversal

In other languages List a session's windows

0 declared, 0 inherited

Esc

Type to search.