diff options
| author | user <user@clank> | 2026-07-22 20:24:22 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-12 19:34:35 +0200 |
| commit | 4b58e214ca4e05ccfc884d63655226f5748c1422 (patch) | |
| tree | c8525e4d10613521f6dd458abd65055989cc00c8 /pi-ext/scripts | |
| parent | reload-hotkey: prefill /reload instead of broken sendUserMessage command (diff) | |
| download | sl0ppi-4b58e214ca4e05ccfc884d63655226f5748c1422.tar.gz sl0ppi-4b58e214ca4e05ccfc884d63655226f5748c1422.tar.xz sl0ppi-4b58e214ca4e05ccfc884d63655226f5748c1422.zip | |
slop-tool-boxes: pulse the border of in-progress (pending) tools
Apply the last-prompt palette pulse to tool rows while they're running:
- module-level 10fps timer re-paints only PENDING rows via context.invalidate()
(the tool render context's rerender trigger), and stops when none are pending
- render() reuses width+content-cached inner lines (persisted on the row state
so they survive the timer's updateDisplay rebuilds) and only re-frames cheap
strings with the pulse color; native tool render is NOT re-run per tick
- completed rows keep the existing width-memoized full-output cache untouched,
so no perf regression for finished tools
- frame builders take a Paint fn (solid theme color when idle, truecolor pulse
when pending); label/icon stay static, only the border rails pulse
- agent_settled/session_shutdown safety net guarantees the timer stops
Diffstat (limited to 'pi-ext/scripts')
0 files changed, 0 insertions, 0 deletions
