libtmux Reference MCP Search
On this page

tmux.Server.SwitchClient

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_clients.go
SwitchClient ( ctx : context.Context , targetSession : string ) error
method [source]
method [source]
SwitchClient

SwitchClient switches tmux's current client to targetSession. TargetSession is a validated session name rather than a stable identity; cancellation does not prove the switch did not occur.

0 declared, 0 inherited

Esc

Type to search.