Files
oh-my-pi/crates/pi-natives
can1357 17259e4afd feat: fixed word wrap not retaining line style with ANSI code preservation
- Added new public `wrapTextWithAnsi()` function to wrap text to a visible width while preserving ANSI escape codes across line breaks.
- Implemented ANSI state tracking and restoration logic to maintain color and formatting codes when wrapping multi-line text.
- Migrated `wrapTextWithAnsi` implementation from tui package to pi-natives package for better code organization and reusability.
- Added comprehensive test coverage for ANSI color code preservation across wrapped lines.
2026-02-01 14:13:40 +01:00
..