# LibTmux.Server.ShowMenuAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Interaction.cs#L222
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-showmenuasync/

```
LibTmux.Server.ShowMenuAsync(request: DisplayMenuRequest, cancellationToken: CancellationToken) -> Task
```

Shows a menu on a client.

The style flags arrived in tmux 3.4 and the mouse flag in 3.5. Older
servers are shown the same menu without them.

## Parameters

- `request` (`DisplayMenuRequest`): What the menu offers, and how it looks.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
