libtmux icon indicating copy to clipboard operation
libtmux copied to clipboard

Confusing explanation of index vs id in the docs

Open piotr-dobrogost opened this issue 5 years ago • 1 comments

At https://libtmux.git-pull.com/about.html one reads the following

What is a {pane,window}_index vs a {pane,window,session}_id? Pane index refers to the order of a pane on the screen. Window index refers to the # of the window in the session.

It is hard to read. The first thing is I took {x,y} automatically to mean a pair and {x,y,z} to mean a triple. The second thing is you mention _index vs _id and then you refer to both with index? After reading this I still do not now which is which.

piotr-dobrogost avatar Feb 11 '21 17:02 piotr-dobrogost

Resolved starting in v0.10.0 (2021-06-16, retiring about.html for Markdown docs) and expanded through v0.62.0 (2026-07-12) to distinguish immutable $/@/% IDs from window and pane indices.

tony avatar Nov 21 '26 13:11 tony