# types.MoveWindowOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L380
- **Page:** https://libtmux.org/en/ts/latest/reference/types-movewindowoptions/

Where a window is moved to, and what happens if something is already there.

Moving is not linking: the window leaves the session it was in.

## Members

- `index` (property): Destination index; tmux picks the next free one when omitted.
- `session` (property): Destination session; the window stays in its own session when omitted.
