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

Python API

Python documentation

libtmux.Server.attached_sessions

Python

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
Ruby Lua TypeScript Rust Go Java.NET C++ Swift
attached_sessions ( self ) → list[Session]
property [source]
property [source]
attached_sessions

Return active Session instances.

Examples

>>> server.attached_sessions
[]
Returns

list[ Session ] Sessions that are attached.

In other ports List the sessions a client is attached to

0 declared, 0 inherited

Esc

Type to search.