mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
paintBox ran every visible text row through compositeTuiLine on every frame, rebuilding each row string via ANSI/grapheme segmentation even when nothing changed. Full-width boxes painting onto untouched rows now assign the source line reference directly; padding is unnecessary since rows are written with erase-line and the final width clamp still truncates over-wide lines. Cuts alt-screen per-frame allocation churn 9-18x (test/render-churn-bench.ts) and removes the fullscreen RSS penalty over regular mode on short sessions (previously +11-29 MiB loaded, +26-36 MiB peak). |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| client | ||
| coding-agent | ||
| evals | ||
| protocol | ||
| server | ||
| session-backends/sqlite-node | ||
| telemetry | ||
| tui | ||