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

Python API

Python documentation

libtmux.Server.lock_server

Python

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
Ruby Lua TypeScript RustGoJava.NET C++ Swift
lock_server ( self ) → None
method [source]
method [source]
lock_server

Lock the tmux server via $ tmux lock-server.

Requires an attached client.

>>> with control_mode() as ctl: ... server.lock_server()

In other ports Lock every client attached to the server

0 declared, 0 inherited

Esc

Type to search.