mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 12:03:49 +00:00
* fix(tui): blockquote multiline rendering and wrapping Fix two bugs in blockquote rendering: 1. ANSI codes split incorrectly on newlines - when text tokens contain newlines, applyDefaultStyle() wrapped the entire string including the newline in ANSI codes. Any caller splitting by \n would break the codes. Fixed by splitting text by newlines before styling in renderInlineTokens(). 2. Wrapped blockquote lines lost the │ border - long blockquote lines that wrapped to multiple lines only had the border on the first line. Fixed by wrapping within the blockquote case and adding border to each line. * test(tui): add test for inline formatting inside blockquotes |
||
|---|---|---|
| .. | ||
| autocomplete.test.ts | ||
| chat-simple.ts | ||
| editor.test.ts | ||
| fuzzy.test.ts | ||
| image-test.ts | ||
| input.test.ts | ||
| key-tester.ts | ||
| keys.test.ts | ||
| markdown.test.ts | ||
| overlay-options.test.ts | ||
| overlay-short-content.test.ts | ||
| select-list.test.ts | ||
| stdin-buffer.test.ts | ||
| test-themes.ts | ||
| truncated-text.test.ts | ||
| tui-overlay-style-leak.test.ts | ||
| tui-render.test.ts | ||
| viewport-overwrite-repro.ts | ||
| virtual-terminal.ts | ||
| wrap-ansi.test.ts | ||