# types.MoveWindowOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/types.ts#L434
- **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

### Other members

- [`index`](/en/ts/latest/reference/types-movewindowoptions-index/) (property): Destination index; tmux picks the next free one when omitted.
- [`session`](/en/ts/latest/reference/types-movewindowoptions-session/) (property): Destination session; the window stays in its own session when omitted.
