mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
A rebuild of the committed page from a Claude Code shell inside Terminal.app came out 34 KB smaller, and every shore clip had a flat-capped sun: main() sets term.NoSplitCells from TERM_PROGRAM, the canvas HTML writers save and restore it around their own output, but the shore decides its disc's caps when it PAINTS (FlatCaps), before any writer runs. Measured by resolving every clip's palette classes to colours: 139 frames differed, all on the shore; without TERM_PROGRAM the rebuild matched the committed page byte for byte. sitePage now pins both switches to the no-terminal values for the whole render, and TestThePageDoesNotChangeWithTheTerminal builds the page under both settings and requires the same bytes (fails without the fix). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>