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.

method libtmux latest

Session.from_session_id

Create Session from existing session_id.

Source and package
Qualified name
libtmux.Session.from_session_id
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
from_session_id ( cls, server: Server, session_id: str ) → Session

Examples#

>>> Session.from_session_id(
... server=session.server, session_id=session.session_id
... )
Session($1 ...)
Parameters
Returns

Session

Raises

tmux command#

The tmux commands behind from_session_id.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference