# io.github.libtmux.PaneInput.heldSince

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

```
public static Optional<Instant> heldSince(Pane pane)
```

Reports when the current hold on this pane was acquired, so a lease nothing ever closes can be found from outside the thread holding it.

## Parameters

- `pane` (`Pane`)

## Returns

empty when the pane is not held
