server.Server.listCommands
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- Python Ruby Lua Rust GoJava.NETC++ Swift
-
Every command name the running tmux understands.
In other ports List the commands this tmux understands
- Python
libtmux.Server.list_commands - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- Rust no equivalent on
Server - Go
tmux.Server.ListCommands - Java
io.github.libtmux.Server.Server.listCommands - .NET
LibTmux.Server.GetCommandsAsync - C++
libtmux::Server::commands - Swift no equivalent on
Server
- Python
Examples
const commands = await server.listCommands();commands.includes("new-window"); // true>>> result = server.list_commands(command_name='send-keys')>>> len(result) >= 1True0 declared, 0 inherited