Core Library0.xAPI reference

Choose documentation 3

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.

MoreLess about this notice

property libtmux-dotnet

Window.Index

Gets the index this window holds in its session.

Source and package
Qualified name
LibTmux.Window.Index
Namespace
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.State.cs

Description

A window linked into several sessions holds a different index in each, so this is the index of the session this handle was read through.

In other ports

task equivalence 10 other ports mapped

Source-verified mappings for A window's index in its session. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

A window's index in its session in each port
PortAPIDiffers from C#
C# LibTmux.Window.Index
Gets the index this window holds in its session.
This page
Python libtmux.Window.index
Alias of Window.window_index.
None recorded in the model
Ruby LibTmux::WindowLinkSnapshot#index
Behavior: Captured records.
None recorded in the model
Elixir LibTmux.WindowLink.index
The index belongs to the session placement, WindowLink, not to the physical window.
Rust window.Window.index
Return the window's index within Window::session_id.
None recorded in the model
Go tmux.Window.Index
Index returns this window's index in its linked session. It returns -1 for a partial Window whose exact winlink has not been materialized.
None recorded in the model
Java io.github.libtmux.Window.index
Where this link sits in its session.
None recorded in the model
C++ libtmux::Window::index
Position within its session, which base-index is free to start anywhere.
readonly
OCaml Libtmux.Window_link.index None recorded in the model
Perl LibTmux::WindowLink::index
integer. Local captured data; no I/O.
Captured session-relative placement data; this is not a property of the physical window.
Raku LibTmux::Model::WindowLink.index
Captured window_index; local uint access.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no accessor; the field is read from Window.format, tmux's own row

No Swift equivalent.

no equivalent on Window

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

Esc
Search in

Type to search.

Reference previewOpen reference