libtmux Reference MCP Search
On this page

client.Client.switch_to

View as Markdown

Module
client
Declared in
Client
Package
libtmux
Source
crates/libtmux/src/client.rs
switch_to ( self , session : &crate::Session ) Result<(), Error>
method [source]
method [source]
switch_to

Point this client at another session.

Errors

Returns Error::ServerMismatch when the session belongs to another server, or an error when the session does not exist or tmux refuses.

0 declared, 0 inherited

Esc

Type to search.