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

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
PythonRuby Lua TypeScriptRustJava.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 ports List a session's windows

0 declared, 0 inherited

Esc

Type to search.