# LibTmux.Server.RefreshClientAsync

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

tmux command: [`refresh-client`](/en/tmux/latest/manual/refresh-client/)

```
LibTmux.Server.RefreshClientAsync(targetClient: string?, requestClipboard: bool, cancellationToken: CancellationToken) -> Task
```

Redraws one client.

Asking for the clipboard arrived in tmux 3.7. Older servers are asked to
redraw and nothing else.

## Parameters

- `targetClient` (`string?`): The client, or null for the caller's own.
- `requestClipboard` (`bool`): Whether the client is asked for its clipboard.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
