aboutsummaryrefslogtreecommitdiffstats
path: root/examples/stopwatch.aup
Commit message (Collapse)AuthorAgeFilesLines
* Give live surfaces a clock and run timers; add a stopwatcheunhhu2026-09-261-0/+43
The terminal and the web page set the time events see to the wall clock and tick an app's timers on time: each round ticks what is due, draws, then waits for input, a frame or the next tick, and a tick is news to every open page at once. Scripts have no clock: time MS sets the time the next events see and tick TIMER ticks, so an app that uses time replays exactly. A module swap reschedules the timers. examples/stopwatch.aup runs on every surface; the checks drive it by script, on a pseudo-terminal by the clock, and on the web page.