Files
donlucasandClaude Fable 5.1 44d8d1f532 The page cannot change with the terminal it is built from: sitePage pins the split-cell switches
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>
2026-09-17 20:33:10 -07:00
..