# io.github.libtmux.WindowId.WindowId

- **Module:** io.github.libtmux.WindowId
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/WindowId.java#L11
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-windowid-windowid/

A tmux window id, such as {@code @1}.

Identifies the window itself, not where it sits. A window linked into two sessions has one id
and two positions, so this is what to compare when asking whether two links are the same window.

## Members

- `toString` (method)
