Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

C# API

method libtmux-dotnet latest

Server.SwitchClientAsync

Namespace LibTmux.Server.SwitchClientAsync LibTmux

Switches the caller's client to another session.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Clients.cs
Other languages
Python Ruby Lua TypeScript Rust Go Java C++ Swift Kotlin Scala F#
SwitchClientAsync ( targetSession : string , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • targetSession ( string ) – The session to switch to.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

tmux command switch-client

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
  • Go tmux.Server.SwitchClient
  • Java no equivalent on Server
  • C++ no equivalent on Server
  • Swift no equivalent on Server
  • Kotlin No source-verified Kotlin equivalent is recorded for this operation.
  • Scala No source-verified Scala equivalent is recorded for this operation.
  • F# No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.