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

pane.Pane.sendPrefix

TypeScript

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
Python Ruby Lua RustGo Java .NET C++ Swift
sendPrefix ( ) → Promise<void>
method [source]
method [source]
sendPrefix

Send the configured prefix key to this pane.

tmux needs a client attached to the session to draw this. With none, it does nothing and reports success, so a headless run is told it worked.

In other ports Send the configured prefix key to a pane

Examples

await pane.sendPrefix();
>>> pane.send_prefix()

0 declared, 0 inherited

Esc

Type to search.