Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

libtmux:detach-client

Request detachment of captured terminal TARGET; return a COMMAND-OUTCOME. CLIENT must own the observation. Success acknowledges the server's request, not frontend process exit or terminal restoration. Returns no replacement. Blocks under the supplied limits. The unique name/PID/creation/tty preflight cannot exclude replacement between validation and dispatch. Missing or foreign targets signal STALE-TARGET; external failures retain their outcome. Never retries, detaches other clients, kills a parent, or starts a shell command.

Source and package
Qualified name
libtmux:detach-client
Declared in
libtmux
Package
libtmux
Source
src/client-operations.lisp
(detach-client client target &key cancel-token timeout output-limit)

Public owner: libtmux

tmux command#

The tmux commands behind detach-client.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss detach-client.

Esc

Type to search.

Reference previewOpen reference