# Libtmux.Operations.kill_pane

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1275
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-kill_pane/

```
val kill_pane : Pane.target -> unit Command.t
```

Destroy the target pane and its running process. tmux removes a window that becomes empty and may remove its now-empty sessions.

## Parameters

- `arg1` (`Pane.target`)
