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

Server.list_sessions

Return list of Session from the tmux(1) session.

Source and package
Qualified name
libtmux.Server.list_sessions
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
list_sessions (self) → list[Session]
Returns

list of Session

Esc

Type to search.

Reference preview Open reference