# Libtmux.Operations.kill_window

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

```
val kill_window : Window.target -> unit Command.t
```

Destroy the window, all its session links and every contained pane. This acts on the global window, not a single contextual link.

## Parameters

- `arg1` (`Window.target`)
