Client.switch_to
Point this client at another session.
Source and package
- Qualified name
-
libtmux::client:: Client:: switch _to - Module
- client
- Declared in
Client- Package
- libtmux
- Source
- crates/libtmux/src/client.rs
-
Description#
Errors
Returns
Error::ServerMismatchwhen the session belongs to another server, or an error when the session does not exist or tmux refuses.- Parameters
tmux command#
The tmux commands behind switch_to.
tmux C API#
The C declarations in tmux that implement these commands.