Skip to content

fix: support tmux cross-session jumps#6

Merged
graykode merged 1 commit intograykode:mainfrom
mark-nitwit-se:fix/tmux-cross-session-jump
Mar 31, 2026
Merged

fix: support tmux cross-session jumps#6
graykode merged 1 commit intograykode:mainfrom
mark-nitwit-se:fix/tmux-cross-session-jump

Conversation

@mark-nitwit-se
Copy link
Copy Markdown
Contributor

Previously, pressing Enter to jump to a session only worked within the
same tmux session — select-pane/select-window target the right pane but don't switch the client to a different tmux session.

This adds a switch-client call before select-window/select-pane so cross-session jumps work correctly.

Changes

  • Add `tmux switch-client -t ` before window/pane selection
  • Reorder: switch-client → select-window → select-pane (session context must be set first)

Previously, pressing Enter to jump to a session only worked within the
same tmux session. Add switch-client before select-window/select-pane
so the client switches to the target tmux session first.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@graykode graykode merged commit 5582c2a into graykode:main Mar 31, 2026
6 checks passed
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.

2 participants