Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

attribute libtmux-lua latest

SnapshotSession.window_count

Source and package
Qualified name
libtmux.SnapshotSession.window_count
Module
libtmux
Declared in
SnapshotSession
Package
libtmux
Source
lua/libtmux/_internal/fields.lua
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby TypeScript RustGo Java C# C++Swift Kotlin Scala OCaml F# Clojure
window_count : integer?

Inherited from libtmux.Fields.Session

In other ports#

How many windows the session holds

Equivalents of How many windows the session holds in other languages
Language Equivalent
Python no equivalent on Session
Ruby LibTmux::SessionSnapshot#window_count
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Session
Rust session.Session.window_count
Go tmux.Session.WindowCount
Java no equivalent on Session
C# no equivalent on Session
C++ libtmux::Session::window_count
Swift Session.windowCount
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Count Session::window_links membership; repeated links remain distinct occurrences.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference