Method Write
Write(IOutputBuffer)
Writes dirty cells from the buffer to the console. Iterates rows/cols, skips clean cells,
batches dirty cells into ANSI sequences, emits OSC 8 hyperlink start/close around URL cells,
and finally renders queued sixel images. Cursor visibility is managed by
ApplicationMainLoop.SetCursor().
public virtual void Write(IOutputBuffer buffer)
Parameters
bufferIOutputBuffer
Write(StringBuilder)
Output the contents of the output to the console.
protected virtual void Write(StringBuilder output)
Parameters
outputStringBuilder
Write(ReadOnlySpan<byte>)
PERF: Output pre-encoded UTF-8 bytes directly to the console. Bypasses StringBuilder → string → byte[] conversion in the hot path.
protected virtual void Write(ReadOnlySpan<byte> output)
Parameters
outputReadOnlySpan<byte>UTF-8 encoded bytes to write.