Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Client.switch_client_at

Switch the client currently bearing this name to the bound session. Environment updates are disabled by default. This can move either a terminal client or a control client; it does not open a new terminal.

Source and package
Qualified name
Libtmux_unix.Client.switch_client_at
Module
Libtmux_unix
Declared in
Client
Package
libtmux-unix
Source
unix/libtmux_unix.mli
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Go Java C# C++ Swift Kotlin Scala F# Clojure
val switch_client_at : ?cancel:Cancellation.t -> ?update_environment:bool -> t -> Libtmux.Client_name.t -> session:Libtmux.Session.target -> (unit, Libtmux.Error.t) result

Public owner: Libtmux_unix

tmux command#

The tmux commands behind switch_client_at.

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Switch a client to another session

Equivalents of Switch a client to another session in other languages
Language Equivalent
Python libtmux.Server.switch_client
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.Server.SwitchClient
Java no equivalent on Server
C# LibTmux.Server.SwitchClientAsync
C++ no equivalent on Server
Swift no equivalent on Server
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#.

Esc

Type to search.

Reference previewOpen reference