mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 18:25:32 -06:00
An expression typed at a command's prompt (CIRCLE, then `(while T)` as the radius) is the prompt's answer, so it ran as a blocking run with the 500,000,000-step cap meant for programmatic calls: about 17 s on a dev build with no frame drawn and Esc not handled. It now runs through `lisp_eval_answer` with a 20,000,000-step cap, and the callbacks it runs (`vl-sort`'s comparator and the other synchronous callbacks) share what is left of that allowance instead of each taking the 500,000,000-step callback allowance inside one step. The error says the expression was stopped and to run long routines at Command:, where they run a slice per frame and Esc stops them. Routines at Command:, `c:` commands, APPLOAD, dropped files, the `lisp`/`appload` JSON calls and startup files are unchanged. Part of #1926 (item 3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>