# LibTmux.TmuxBuffers.GetLinesAsync

- **Module:** LibTmux.TmuxBuffers
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Buffers/TmuxBuffers.cs#L91
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxbuffers-getlinesasync/

```
LibTmux.TmuxBuffers.GetLinesAsync(request: ListBuffersRequest?, cancellationToken: CancellationToken) -> Task<IReadOnlyList<string>>
```

Reads the buffers as tmux rendered them.

## Parameters

- `request` (ListBuffersRequest?): The format and filter, or null for tmux's own.
- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

One line per buffer.
