term.gfx — Lilush API

←index

← term

Overview

term.gfx — Kitty terminal graphics: protocol, pixel canvas, sprites, pixel fonts, an on-screen display, and a frame loop.

This module is the public aggregator. The implementation lives in submodules:

Submodules

ModuleDescription
term.gfx.canvasPixel canvas — an ergonomic Lua wrapper over the C term.gfx_core surface.
term.gfx.displayOn-screen display — a double-buffered placement of a canvas in the terminal.
term.gfx.fontPixel-art text — render strings as scaled bitmap glyphs onto a canvas.
term.gfx.font_defaultDefault 5x7 monochrome pixel font for term.gfx.font.
term.gfx.loopFrame loop — a fixed-timestep animation/game loop on the LEV runtime.
term.gfx.protoKitty graphics protocol — the wire layer: building APC command strings and transmitting image data (inline base64 chunks, POSIX shared memory, or file path), plus placement and deletion commands.
term.gfx.spriteSprites — blit sources for the canvas.