# tmux.Server.DisplayMenu

- **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_interactive.go#L311
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-server-displaymenu/

```
tmux.Server.DisplayMenu(ctx: context.Context, request: DisplayMenuRequest) -> error
```

DisplayMenu displays a menu and waits until tmux closes it. The target client must own a TTY; control-mode clients cannot render menu overlays. It returns no selected value and does not establish whether an item command ran. Unsupported optional flags follow [UnsupportedPolicy]. Completed stderr is an error, and cancellation does not prove menu delivery or a selected command's effect.
