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.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 %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
Parameters
Esc

Type to search.

Reference previewOpen reference