# tmux.Server.ListBuffers

- **Module:** tmux.Server
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_buffers.go#L283
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-server-listbuffers/

```
tmux.Server.ListBuffers(ctx: context.Context, request: ListBuffersRequest) -> ([]string, error)
```

ListBuffers returns an owned snapshot of live tmux buffer rows. A command or transport failure is returned rather than answered with no rows; context cancellation still returns its context error. The result is not a live collection.
