aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authoruser <user@clank>2026-07-22 21:31:46 +0200
committeruser <user@clank>2026-08-12 19:34:35 +0200
commit87b042214d057f8b60858b788a419ec86ac108ba (patch)
tree8f7fe70b7fd36adb51378680dbbb5063637ad247 /cli
parentslop-tool-boxes: fix startup render storm + streaming flicker (diff)
downloadsl0ppi-87b042214d057f8b60858b788a419ec86ac108ba.tar.gz
sl0ppi-87b042214d057f8b60858b788a419ec86ac108ba.tar.xz
sl0ppi-87b042214d057f8b60858b788a419ec86ac108ba.zip
slop-tool-boxes: remove animation timer; time-based pulse (fix streaming flicker)
Third flicker bug: a taller-than-screen bash box flickered because the 10fps timer forced a full updateDisplay() repaint on top of the stream's own re-renders. Root fix: NEVER force a repaint. - Pulse color is now a pure function of wall-clock time (Date.now() % CYCLE_MS); no tick counter, no setInterval. Any render shows the current color. - The pulse advances only on renders that already happen: streaming output ('the stream hydrates the pulse', irregular cadence) or start/end nudges. - Silent long-running tools hold a static active color (flicker-free) rather than animating. - Also drop body side rails entirely (open-sided box); only top/bottom pulse. Self-test: restored rows never pulse, active top border advances with time, settles solid on end.
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions