# io.github.libtmux.CommandChain.CommandChain.arrange

- **Module:** io.github.libtmux.CommandChain.CommandChain
- **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/CommandChain.java#L68
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-commandchain-commandchain-arrange/

```
io.github.libtmux.CommandChain.CommandChain.arrange(layout: String) -> CommandChain
```

Arranges the current window.

## Raises

- `IllegalArgumentException`: if tmux would not recognise the layout, which on some versions ends the whole server rather than the command
- `UnsupportedTmuxVersionException`: if the layout name arrived after this release, which tmux cannot tell from any other name it does not know
