# 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/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/display_message.go#L77
- **Page:** https://libtmux.org/en/go/latest/reference/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.
