# io.github.libtmux.kotlin.CommandChain.newWindow

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/CommandChain.kt#L17
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-commandchain-newwindow/

```
public fun newWindow(name: String): CommandChain
```

Makes a window named [name], which the commands after it act on. Collected, not sent.

## Parameters

- `name` (`String`)
