You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): apply focus to tmux pane for external sessions
Adds `Session:focus()` backend hook with a tmux implementation via
`tmux select-pane`, and unifies the UI layer to dispatch through
`state.session:focus()`. `Terminal` is already a `Session` backend so
`state.terminal === state.session` for terminal-backed sessions — the
same call covers both paths.
Also fixes the default-focus asymmetry in `M.attach`: external focus
now fires on `opts.show and opts.focus ~= false` to match terminal,
so `send()` and `toggle()` (no args) focus external panes the same
way they focus terminals.
Closes#179.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments