# LibTmux.Pane.ClearHistoryAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Pane.Input.cs#L187
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-pane-clearhistoryasync/

tmux command: [`clear-history`](/en/tmux/latest/manual/clear-history/)

```
LibTmux.Pane.ClearHistoryAsync(resetHyperlinks: bool, cancellationToken: CancellationToken) -> Task
```

Drops the pane's scrollback history.

## Parameters

- `resetHyperlinks` (`bool`): Whether stored hyperlinks are dropped too.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
