# libtmux::Server::show_message

- **Module:** libtmux::Server
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/server.hpp#L287
- **Page:** https://libtmux.org/reference/cxx/libtmux-server-show_message/

```
libtmux::Server::show_message(text: std::string_view) -> expected< void, CommandFailure >
```

Put a message on the status line of every attached client, and send it to each control client as `message`.

tmux expands the text as a format, so a `#{...}` in it is substituted rather than shown. Text built from data belongs in `escape_literal` first.
