mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
8ae204f12f
The StreamComponent was truncating content to fit the viewport height before caching it in renderCache. This caused GetRenderedContent() to return truncated content when flushing to scrollback. Changes: - render() now caches FULL content without height clamping - New viewContent() helper applies height clamping only for display - View() calls both: render() for full content, viewContent() for visible slice This follows the Pi TUI pattern: full buffer in memory, viewport slicing only at display time. Long assistant messages are now fully preserved in scrollback.