# LibTmux.Window.CreateWindowAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Window.Lifecycle.cs#L129
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-window-createwindowasync/

```
LibTmux.Window.CreateWindowAsync(request: NewWindowRequest?, cancellationToken: CancellationToken) -> Task<Window>
```

Creates a window next to this one.

## Parameters

- `request` (`NewWindowRequest?`): The window to create.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.

## Returns

The created window.
