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.

method libtmux-perl latest

Server.detach_client

detach_client(client => Client|client_name).

Source and package
Qualified name
LibTmux::Server::detach_client
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
packages/core/lib/LibTmux/Server.pm
Other languages
Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust Go Java C# C++ Swift Kotlin Scala OCaml F# Clojure
sub detach_client($self, %args)

Description#

Request detachment of a captured LibTmux::Client or explicit native client name. Command acceptance can precede client-process exit; callers owning an attached process must observe its exit separately.

Returns undef after command acceptance. Performs I/O; failures propagate through LibTmux::X. Captured objects are not modified.

$server->detach_client(client => $client);

Methods#

Parameters

tmux command#

The tmux commands behind detach_client.

detach-client display-message (daemon identity or target preflight)

tmux C API#

The C declarations in tmux that implement these commands.

In other ports#

Detach one client

Equivalents of Detach one client in other languages
Language Equivalent
Python libtmux.Server.detach_client
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.Server.DetachClient
Java no equivalent on Server
C# LibTmux.Server.DetachClientAsync
C++ no equivalent on Server
Swift Server.detach(_:)
OCaml Libtmux_unix.Client.request_detach_client_at

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference