# LibTmux.MoveWindowRequest.MoveWindowRequest

- **Module:** LibTmux.MoveWindowRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/MoveWindowRequest.cs#L13
- **Page:** https://libtmux.org/reference/dotnet/libtmux-movewindowrequest-movewindowrequest/

```
LibTmux.MoveWindowRequest.MoveWindowRequest(destination: string, session: string?, direction: WindowDirection?, noSelect: bool, replaceExisting: bool, renumber: bool)
```

Initializes a window-move request.

## Parameters

- `destination` (string) — The window part of the target, empty for the next free index.
- `session` (string?) — The destination session, or null for the window's own.
- `direction` (WindowDirection?) — Whether to insert before or after the destination.
- `noSelect` (bool) — Whether the moved window is left unselected.
- `replaceExisting` (bool) — Whether a window already at the index is replaced.
- `renumber` (bool) — Whether the destination session's windows are renumbered.
