# 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/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/WindowSpec.java#L227
- **Page:** https://libtmux.org/reference/java/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.
