merge: resolve conflict in tmux.go (keep SwitchClient)

This commit is contained in:
Steve Yegge
2025-12-23 04:48:14 -08:00
parent 42d8944f71
commit 46ce96ae62

View File

@@ -561,3 +561,10 @@ func (t *Tmux) RespawnPane(pane, command string) error {
_, err := t.run("respawn-pane", "-k", "-t", pane, command)
return err
}
// SwitchClient switches the current tmux client to a different session.
// Used after remote recycle to move the user's view to the recycled session.
func (t *Tmux) SwitchClient(targetSession string) error {
_, err := t.run("switch-client", "-t", targetSession)
return err
}