Skip to content

Documentation / @agentick/tui / renderMessage

Function: renderMessage() ​

renderMessage(__namedParameters): string

Defined in: rendering/message.ts:33

Render a complete message to an ANSI string for terminal output.

User messages: subtle gray borders, muted text — recognizable but not dominant. Assistant messages: rich-rendered content blocks, tool call indicators. No role labels — the styling differentiates.

Parameters ​

__namedParameters ​

RenderMessageOptions

Returns ​

string

Released under the ISC License.