Pane.equals
Whether other is this same pane on this same server.
Source and package
- Qualified name
-
Pane.equals - Module
- pane
- Declared in
Pane- Package
- libtmux
- Source
- packages/libtmux/src/pane.ts
-
Description#
The socket, the daemon that answered, and
%nall have to match — a restarted server issues%0again 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