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_commands

List tmux commands via $ tmux list-commands.

Source and package
Qualified name
libtmux.Server.list_commands
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
PowerShell Julia Ruby Lua TypeScript Rust GoJavaC#C++ Swift Kotlin Scala F#
list_commands ( self, command_name: str | None = None ) → list[str]

Examples#

>>> result = server.list_commands(command_name='send-keys')
>>> len(result) >= 1
True
Parameters
Returns

list[str] Command listing lines.

tmux command list-commands

In other ports List the commands this tmux understands
Esc

Type to search.

Reference preview Open reference