# LibTmux.clear_history

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-julia/blob/1a68a11f071686736937d027b190b43cf946c385/src/topology.jl#L386
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-clear_history/

```
clear_history(transport, pane::LibTmux.PaneRef; kwargs...)
```

## Methods

Delete this pane's saved scrollback, preserving its visible screen and process. Accept a `Server` or `ControlConnection`; return the command result. Cancellation after submission does not undo the deletion.

```julia
clear_history(transport, pane::PaneRef; kwargs...)
```

## Parameters

- `transport` (`Any`)
- `pane` (`LibTmux.PaneRef`)
- `kwargs`

## Guides

Pages that discuss `clear_history`.

- [Ownership and I/O](/en/julia/latest/topics/ownership/)
