Window.equals
Whether other is this same window on this same server.
Source and package
- Qualified name
-
Window.equals - Module
- window
- Declared in
Window- Package
- libtmux
- Source
- packages/libtmux/src/window.ts
-
Description#
The socket, the daemon that answered, and
@nall have to match: tmux ids are unique only within one running daemon, and a restart reissues them. Two placements of one linked window are the same window, so this is true for both.sameTmuxIdAs()asks the weaker question.Examples#
window.equals(await window.refreshed()); // true