mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
ce9ffaff91
wrapTextWithAnsi() was processing each line independently after splitting on newlines, losing ANSI state. When styled text contained embedded newlines (e.g. from markdown paragraphs), subsequent lines would lose their styling. Fixed by tracking ANSI state across lines and prepending active codes to lines after the first. Fixes #197
ce9ffaff91
ยท
2025-12-15 23:00:25 +01:00
History