# io.github.libtmux.PaneInput.hold

- **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/PaneInput.java#L36
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-paneinput-paneinput-hold/

```
public static Lease hold(Pane pane)
```

Excludes other threads from this pane until the lease closes. The pane is the one its capture named: the same id on a server started since is another pane, and is not held.

## Parameters

- `pane` (`Pane`)
