libtmux Reference MCP Search
On this page

tmux.Pane.KillOthers

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
KillOthers ( ctx : context.Context ) error
method [source]
method [source]
KillOthers

KillOthers destroys every other pane in the receiver's stable window and leaves the receiver as its sole active pane. It does not select the exact winlink as its session's current window or promise client focus, and it does not destroy a window or session. The receiver is not refreshed. Only stderr makes a completed command a CommandError ; nonzero exits without stderr are ignored.

0 declared, 0 inherited

Esc

Type to search.