# tmux.Pane.DisplayPanes

- **Module:** tmux.Pane
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_modes.go#L291
- **Page:** https://libtmux.org/reference/go/tmux-pane-displaypanes/

```
tmux.Pane.DisplayPanes(ctx: context.Context, request: DisplayPanesRequest) -> error
```

DisplayPanes displays pane numbers for tmux's current client and waits for the indicator to close. It is client-scoped: the receiver supplies only the server connection and no pane target. A zero request uses tmux's configured duration and permits number-key selection.

Only stderr produces a redacted [CommandError]; nonzero exits without stderr
are ignored. Cancellation cannot revoke an accepted display.
