Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Session.detach_client

Detach every client attached to this session.

Source and package
Qualified name
libtmux.Session.detach_client
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
Other languages
PowerShell Julia Ruby Lua TypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
detach_client ( self, shell_command: str | None = None ) → None

Description#

Maps to $ tmux detach-client -s <session_id> — the only detach-client flag group that is genuinely session-scoped.

Examples#

>>> with control_mode() as ctl:
... session.detach_client()
Parameters
In other ports Detach every client attached to a session
Esc

Type to search.

Reference preview Open reference