# io.github.libtmux.PaneInput.holdInterruptible

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

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

Holds the pane for a command that another thread may have to stop.

The stop uses {@link #enterInterrupt}. Any other attempt to {@link #hold} still fails.

## Parameters

- `pane` (`Pane`)
