# types.MoveWindowOptions.session

- **Module:** types.MoveWindowOptions
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/types.ts#L366
- **Page:** https://libtmux.org/reference/ts/types-movewindowoptions-session/

Destination session; the window stays in its own session when omitted.

Omitted means this window's session, not tmux's current one — tmux reads a
destination of `:3` as index 3 of whichever session it happens to consider
current, which is rarely the one a caller holding this window means.
