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

Go API

Go documentation

tmux.Session.WindowCount

Go

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/format_generated.go
Other languages
Python RubyLua TypeScript Rust Java .NET C++Swift
WindowCount ( ) → (int, bool)
method [source]
method [source]
WindowCount

WindowCount returns tmux #{session_windows} as int from this Session's materialized session-scoped fields (tmux 3.2a or later).

In other ports How many windows the session holds

0 declared, 0 inherited

Esc

Type to search.