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

server.Server.listCommands

TypeScript

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
Other languages
Python Ruby Lua Rust GoJava.NETC++ Swift
listCommands ( ) → Promise<readonly string[]>
method [source]
method [source]
listCommands

Every command name the running tmux understands.

In other ports List the commands this tmux understands

Examples

const commands = await server.listCommands();
commands.includes("new-window"); // true
>>> result = server.list_commands(command_name='send-keys')
>>> len(result) >= 1
True

0 declared, 0 inherited

Esc

Type to search.