# 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/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_buffers.go#L199
- **Page:** https://libtmux.org/reference/go/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.
