Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ts latest

Pane.killIfWindowUnshared

Destroy this pane only if its window has one placement.

Source and package
Qualified name
Pane.killIfWindowUnshared
Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
killIfWindowUnshared(): Promise<void>

Examples#

await pane.killIfWindowUnshared();

tmux command#

The tmux commands behind killIfWindowUnshared.

if-shell kill-pane (the window has one placement)

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference