Skip to content
Mikkel102454 edited this page Oct 6, 2026 · 2 revisions

clear

Fill the entire framebuffer.

Arguments

All listed arguments are required.

Name Type Meaning
color string black, white, yellow, or red

Example

{
  "cmd": "clear",
  "args": {
    "color": "white"
  }
}

Behavior

Clears all framebuffer pixels. Use this at the start of a document for an explicit background.

See Command Reference, Color Palette, and Renderer Notes.

Implementation references

Clone this wiki locally