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

Python API

Python documentation

libtmux.Server.lock_client

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

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
lock_client ( self , target_client : str | None = None ) → None
method [source]
method [source]
lock_client

Lock a client via $ tmux lock-client.

Requires an attached client.

Examples

>>> with control_mode() as ctl:
... server.lock_client()
Parameters
  • target_client ( str | None ) – Target client (-t flag).

In other ports Lock one client
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust no equivalent on Server
  • Go tmux.Server.LockClient
  • Java no equivalent on Server
  • .NET LibTmux.Server.LockClientAsync
  • C++ no equivalent on Server
  • Swift no equivalent on Server

0 declared, 0 inherited

Esc

Type to search.