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

Swift API

Swift documentation

Server.detach(_:)

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

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift
Other languages
Python Ruby Lua TypeScript Rust Go Java .NET C++
detach(_:) ( client : Client ) → ()
methodasync [source]
methodasync [source]
detach(_:)

Detaches a client from the server it is attached to.

A server operation despite the name: it acts on a client the server already holds, so it needs no terminal of its own. The session the client was viewing is untouched. The daemon incarnation is guarded, but tmux cannot atomically compare client_pid; this detaches whichever current client has Client/name.

Raises
In other ports Detach one client

0 declared, 0 inherited

Esc

Type to search.