Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Server.DetachAllClientsAsync

Detaches every client except one.

Source and package
Qualified name
LibTmux.Server.DetachAllClientsAsync
Namespace
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Clients.cs
Task DetachAllClientsAsync( string? keepClient = null, string? shellCommand = null, CancellationToken cancellationToken = default )

Description

tmux reads the kept client from the same target flag it uses to name a client, so this always spares one. Naming none does not mean "spare none": tmux falls back to whichever client it resolves for the caller, which from a process with no client of its own leaves that client attached and detaches nothing.

Parameters

Recorded calls

source calls
No call edges in the C# model.

The C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.DetachAllClientsAsync.

tmux command

task material

The tmux commands behind DetachAllClientsAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 2 other ports mapped

Source-verified mappings for Detach every client on the server. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Detach every client on the server in each port
PortAPIDiffers from C#
C# LibTmux.Server.DetachAllClientsAsync
Detaches every client except one.
This page
Python libtmux.Server.detach_all_clients
Detach every client on this server via $ tmux detach-client -a.
None recorded in the model
Go tmux.Server.DetachAllClients
DetachAllClients detaches every client except KeepClient or tmux's current client. Cancellation does not prove every client was detached.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Server

No Rust equivalent.

no equivalent on Server

No Java equivalent.

no equivalent on Server

No C++ equivalent.

no equivalent on Server

No Swift equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No Raku equivalent.

No direct Raku mapping is recorded for this operation; consult the native API reference.

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

Esc
Search in

Type to search.

Reference previewOpen reference