# io.github.libtmux.Layout.byTmuxName

- **Module:** io.github.libtmux
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c067fced0dfd19bd6dd3d260e9d4c336becdb063/libtmux/src/main/java/io/github/libtmux/Layout.java#L53
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-layout-layout-bytmuxname/

```
public static Optional<Layout> byTmuxName(String name)
```

The layout with this exact tmux name, or empty if none matches.

One map built once, so a caller that already has a canonical name does not repeat the scan
over {@link #values()} that resolving an abbreviation already did.

## Parameters

- `name` (`String`)
