# io.github.libtmux.Options.Options.get

- **Module:** io.github.libtmux.Options.Options
- **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/Options.java#L72
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-options-options-get/

```
io.github.libtmux.Options.Options.get(name: String) -> Optional<String>
```

The value in effect at this scope, inherited from a parent scope when this one does not set it.

<p>This is what tmux itself will act on. To ask the narrower question — whether this scope
sets the option at all — look for the name in {@link #all()}, which lists only what is set
here.

## Returns

empty only when tmux does not know the option, which it reports as an error; an option genuinely set to the empty string comes back as an empty value, not as absent. A value spanning several lines comes back whole
