Emit a full cell buffer as an ANSI string for terminal output.
Generates cursor positioning, SGR styling codes, and character content
for every cell. Output is wrapped in synchronized output markers
(CSI 2026) for flicker-free rendering.
Optimizes by batching consecutive cells with the same style and
only emitting SGR codes when the style changes.
Emit a full cell buffer as an ANSI string for terminal output.
Generates cursor positioning, SGR styling codes, and character content for every cell. Output is wrapped in synchronized output markers (CSI 2026) for flicker-free rendering.
Optimizes by batching consecutive cells with the same style and only emitting SGR codes when the style changes.