Server.detach(_:)
Detaches a client from the server it is attached to.
Source and package
- Qualified name
-
Server.detach(_:) - Declared in
Server- Package
- libtmux-swift
- Source
- Sources/LibTmux/Navigation.swift
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Go Java C# C++ Kotlin Scala OCaml F# Clojure
-
Description#
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 hasClient.name.
tmux command#
The tmux commands behind detach(_:).
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Detach one client
| 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 |
| OCaml | Libtmux |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.