# LibTmux.Pane.SetTitleAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Pane.Topology.cs#L370
- **Page:** https://libtmux.org/en/csharp/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.
