# LibTmux.Window.FindPaneAsync

- **Module:** LibTmux.Window
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Window.Panes.cs#L106
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-window-findpaneasync/

```
LibTmux.Window.FindPaneAsync(target: string, cancellationToken: CancellationToken) -> Task<Pane?>
```

Reads one pane in this window.

## Parameters

- `target` (string): The pane target.
- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

The pane, or null when this window has no such pane.
