Server.show_messages
Show server message log via $ tmux show-messages.
Source and package
-
Description#
Without
-T/-J, tmux resolves the message log against a target client; if no client is attached and target_client is omitted, tmux raisesno current client. Provide target_client (e.g. viaControlMode) when running headless, or use terminals/jobs — those modes don't require a client.Examples#
>>> with control_mode() as ctl:... result = server.show_messages(target_client=ctl.client_name)>>> isinstance(result, list)True- Parameters
- Returns
-
list[str] Server message log lines (or terminal/job summary when terminals/jobs is set).
tmux command
show-messagesIn other ports Read the server's message log
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Server - Rust no equivalent on
Server - Go
- Java
- C#
- C++
Server::show_messageposts a message rather than reading the log - Swift no equivalent on
Server - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.