co-mono/packages/tui/src
Mario Zechner 02a21dd936 Fix viewport width issues in thinking selector and text rendering
Thinking selector fix:
- Replace hardcoded 50-character borders with DynamicBorder component
  that adjusts to viewport width
- Prevents crash when terminal is resized narrow

Text/Markdown rendering fixes:
- Fix Markdown wrapSingleLine to check if adding next character would
  exceed width BEFORE adding it (was checking AFTER, causing lines to
  be 1 character too long)
- Add word truncation in Text component for words longer than
  contentWidth (prevents long unbreakable words from exceeding width)

These fixes prevent "Rendered line exceeds terminal width" errors.
2025-11-11 23:52:18 +01:00
..
components Fix viewport width issues in thinking selector and text rendering 2025-11-11 23:52:18 +01:00
autocomplete.ts fix(tui): Container change detection for proper differential rendering 2025-08-11 02:31:49 +02:00
index.ts Fix markdown streaming duplication by splitting newlines first 2025-11-11 19:27:58 +01:00
terminal.ts Fix terminal rendering and add improvements 2025-11-11 00:13:46 +01:00
tui.ts Simplify assistant message spacing - just add spacer to components 2025-11-11 21:51:12 +01:00
utils.ts Fix tab rendering in TUI components 2025-11-11 23:24:48 +01:00