# LibTmux.Pane.SetTitleAsync

- **Module:** LibTmux.Pane
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Pane.Topology.cs#L369
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-pane-settitleasync/

```
LibTmux.Pane.SetTitleAsync(title: string, cancellationToken: CancellationToken) -> Task<Pane>
```

Sets this pane's title.

tmux expands the title as a format, so a <c>#</c> in it does not survive
verbatim.

## Parameters

- `title` (string): The new title.
- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

A replacement handle carrying the new title.
