WindowLink.index
integer. Local captured data; no I/O.
Source and package
-
Methods#
In other ports#
A window's index in its session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Elixir | Lib The index belongs to the session placement, WindowLink, not to the physical window. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no accessor; the field is read from Window.format, tmux's own row |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | no equivalent on Window |
| OCaml | Libtmux |
No equivalent is recorded in Lua, PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.