pi-mono/packages
Aliou Diallo 41377ee8ec
fix(tui): sync test awaits with throttled render pipeline (#3076)
Tests assumed renders complete synchronously after requestRender() +
nextTick + flush(), but commit 6f5f37f8 changed requestRender() to
schedule via setTimeout with a 16ms minimum interval. Tests reading
viewport state before doRender() runs saw stale data.

Add VirtualTerminal.waitForRender() helper that waits for the throttled
render to settle (nextTick + 20ms + xterm flush), and replace all
terminal.flush() calls after render-triggering actions with it.

Fixes 8 failing tests across overlay-short-content, tui-render, and
markdown test suites.
2026-04-13 10:57:48 +02:00
..
agent Add [Unreleased] section for next cycle 2026-04-09 01:01:16 +02:00
ai fix: bump antigravity User-Agent header version (#2901) 2026-04-09 03:10:05 +02:00
coding-agent fix: bump antigravity User-Agent header version (#2901) 2026-04-09 03:10:05 +02:00
mom Add [Unreleased] section for next cycle 2026-04-09 01:01:16 +02:00
pods Release v0.66.1 2026-04-09 01:00:19 +02:00
tui fix(tui): sync test awaits with throttled render pipeline (#3076) 2026-04-13 10:57:48 +02:00
web-ui Add [Unreleased] section for next cycle 2026-04-09 01:01:16 +02:00