mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 20:03:05 +00:00
Fixed crash when rendering text containing emojis followed by long content. The breakLongWord function was iterating over UTF-16 code units instead of grapheme clusters, causing emojis (surrogate pairs) to be miscounted during line wrapping. Now uses Intl.Segmenter to properly handle multi-codepoint characters. |
||
|---|---|---|
| .. | ||
| components | ||
| autocomplete.ts | ||
| index.ts | ||
| terminal.ts | ||
| tui.ts | ||
| utils.ts | ||