libtmux Reference MCP Search
On this page

Server.detach(_:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift
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

0 declared, 0 inherited

Esc

Type to search.