ClientRef.switch
Switch session by ID. Updating the session environment is opt-in.
Source and package
-
Inherited from
LibTmux::Client::ClientTargetDescription#
Switch session by ID. Updating the session environment is opt-in.
- Parameters
-
-
$update-environment? (Bool:D) # -
$keep-zoom? (Bool:D) #
tmux command#
The tmux commands behind switch.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Switch a client to another session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Server |
| Rust | no equivalent on Server |
| Go | tmux |
| Java | no equivalent on Server |
| C# | Lib |
| C++ | no equivalent on Server |
| Swift | no equivalent on Server |
| OCaml | Libtmux |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.