# io.github.libtmux.WindowSpec.WindowSpec.Builder.detached

- **Module:** io.github.libtmux.WindowSpec.WindowSpec.Builder
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/WindowSpec.java#L236
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-windowspec-windowspec-builder-detached/

```
io.github.libtmux.WindowSpec.WindowSpec.Builder.detached() -> Builder
```

Leaves the current window selected, where tmux would move to the new one.
