# tmux.Server.DisplayMessage

- **Module:** tmux.Server
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/display_message.go#L72
- **Page:** https://libtmux.org/reference/go/tmux-server-displaymessage/

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

DisplayMessage displays or prints a server-scoped tmux message. Print returns an owned stdout slice even when tmux exits nonzero; completed stderr is delivered synchronously through [WarningCommandStderr], not returned as a completed-error classification. Unsupported flags follow [UnsupportedPolicy]. Any warnings run on the caller goroutine before return. Cancellation does not prove display did not occur.
