libtmux Reference MCP Search
On this page

pane.Pane.equals

View as Markdown

Module
pane
Declared in
Pane
Package
@libtmux/libtmux
Source
packages/libtmux/src/pane.ts
equals ( other : : unknown ) boolean
method [source]
method [source]
equals

Whether other is this same pane on this same server.

The socket, the daemon that answered, and %n all have to match — a restarted server issues %0 again to an entirely different pane, so two handles can agree on socket and id and still name different panes. sameTmuxIdAs asks the weaker question.

Examples

pane.equals(await pane.refreshed()); // true

0 declared, 0 inherited

Esc

Type to search.