renderBufferToText
renderBufferToText(
buffer):string
Defined in: src/render/html-renderer.ts:36
Render the screen buffer as a plain-text grid — a “screenshot” of exactly the characters currently on screen. Style/color is dropped (use renderBufferToHTML for that); this is the fastest way for a human or LLM to see the layout. Wide-character continuation cells are skipped and trailing whitespace trimmed.
Parameters
Section titled “Parameters”buffer
Section titled “buffer”Returns
Section titled “Returns”string