# tmux.Window.Equal

- **Module:** tmux.Window
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/identity.go#L74
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-window-equal/

```
tmux.Window.Equal(other: Window) -> bool
```

Equal reports whether two window records carry the same stable window ID. It intentionally collapses linked-session views with different sessions or indexes; use SessionID, WindowID, and WindowIndex for exact view identity.
