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

Go API

Go documentation

tmux.Session.ActiveWindow

Go

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/relations.go
Other languages
Python Ruby Lua TypeScriptRustJava.NETC++ Swift
ActiveWindow ( ) → (Window, bool)
method [source]
method [source]
ActiveWindow

ActiveWindow returns this session's sole active winlink from the materialized snapshot. It never queries tmux; use Session.ResolveActiveWindow for live state.

Discussed in Traversal

In other ports The session's active window

0 declared, 0 inherited

Esc

Type to search.