co-mono/packages/tui/test
Mario Zechner 192d8d2600 fix(tui): Container change detection for proper differential rendering
Fixed rendering artifact where duplicate bottom borders appeared when components
dynamically shifted positions (e.g., Ctrl+C in agent clearing status container).

Root cause: Container wasn't reporting as "changed" when cleared (0 children),
causing differential renderer to skip re-rendering that area.

Solution: Container now tracks previousChildCount and reports changed when
child count changes, ensuring proper re-rendering when containers are cleared.

- Added comprehensive test reproducing the layout shift artifact
- Fixed Container to track and report child count changes
- All tests pass including new layout shift artifact test
2025-08-11 02:31:49 +02:00
..
bench.ts tui-double-buffer: Implement smart differential rendering with terminal abstraction 2025-08-10 22:33:03 +02:00
chat-app.ts feat(tui): Add instructional header and welcome message to chat demo 2025-08-11 01:36:18 +02:00
differential-render.test.ts tui: Fix differential rendering to preserve scrollback buffer 2025-08-11 00:57:59 +02:00
file-browser.ts fix(tui): Container change detection for proper differential rendering 2025-08-11 02:31:49 +02:00
layout-shift-artifacts.test.ts fix(tui): Container change detection for proper differential rendering 2025-08-11 02:31:49 +02:00
multi-layout.ts fix(tui): Container change detection for proper differential rendering 2025-08-11 02:31:49 +02:00
tui-rendering.test.ts tui-double-buffer: Implement smart differential rendering with terminal abstraction 2025-08-10 22:33:03 +02:00
virtual-terminal.test.ts tui-double-buffer: Implement smart differential rendering with terminal abstraction 2025-08-10 22:33:03 +02:00
virtual-terminal.ts tui-double-buffer: Implement smart differential rendering with terminal abstraction 2025-08-10 22:33:03 +02:00