Skip to main content

Module render

Module render 

Source
Expand description

ANSI renderer — turns an EventStream into colored text with Nord styling.

Honors NO_COLOR, auto-detects non-tty streams, and always writes deterministic output (same events + same theme → identical bytes).

Structs§

Renderer

Functions§

should_color
Auto-detect whether to emit ANSI escapes. true if stderr is a tty and NO_COLOR is not set.