Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.SwitchClient

Go
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_clients.go
Other languages
Python Ruby Lua TypeScript Rust Java .NET C++ Swift
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.

In other ports Switch a client to another session
  • Python libtmux.Server.switch_client
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust no equivalent on Server
  • Java no equivalent on Server
  • .NET LibTmux.Server.SwitchClientAsync
  • C++ no equivalent on Server
  • Swift no equivalent on Server

0 declared, 0 inherited

Esc

Type to search.