Skip to main content

Module terminal

Module terminal 

Source
Expand description

Terminal renderer — renders ContentNode to ANSI-escaped terminal output.

Supports:

  • Styled text with fg/bg colors, bold, italic, underline, dim
  • Tables with unicode box-drawing characters (6 border styles)
  • Code blocks with indentation and language label
  • Charts as placeholder text
  • Key-value pairs with aligned output
  • Fragments via concatenation

Structs§

TerminalRenderer
Renders ContentNode trees to ANSI terminal output.