libtmux Reference MCP Search
On this page

tmux.Pane.Index

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Index ( ) int
method [source]
method [source]
Index

Index returns the pane's index in its exact window view. Unlike the materialized format accessors it sits beside, it returns a plain int, because a pane record always carries the index tmux placed it at.

0 declared, 0 inherited

Esc

Type to search.