Skip to content

fix: use session: target syntax in list-panes to avoid numeric name ambiguity#1

Open
oboote wants to merge 1 commit into
bma-d:masterfrom
oboote:master
Open

fix: use session: target syntax in list-panes to avoid numeric name ambiguity#1
oboote wants to merge 1 commit into
bma-d:masterfrom
oboote:master

Conversation

@oboote

@oboote oboote commented May 13, 2026

Copy link
Copy Markdown

When session names are integers (e.g. 0, 1, 2), tmux list-panes -t 2 is ambiguous — tmux can resolve 2 as a window index in the current session rather than "session named 2, active window". This causes the wrong pane ID to be returned, so the dashboard panel for session 2 ends up displaying content from an unrelated pane.

Fix: append : to the session name (-t session:) which is tmux's unambiguous syntax for "active window of this named session". Applied to both activePaneID and listPaneIDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant