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

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
PythonRubyLuaRustGoJava.NETC++Swift
respawn ( command : : string , options : : RespawnOptions ) → Promise<void>
method [source]
method [source]
respawn

Restart this pane's command in place.

In other ports Restart a pane's command

Examples

await pane.respawn("htop", { kill: true });
>>> pane = window.split(shell='sleep 1m')
>>> pane.respawn(kill=True, shell='sh')

0 declared, 0 inherited

Esc

Type to search.