mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
ab771a84b2
Headings applied styling (bold+cyan) as an outer wrapper around the result of renderInlineTokens. When inline elements like codespan emitted ANSI resets, the outer heading style was killed and only the default text style was restored via stylePrefix. Fix: pass a heading-specific InlineStyleContext into renderInlineTokens so each text segment gets heading styling directly, and stylePrefix restores heading style after inline elements.
ab771a84b2
ยท
2026-03-23 01:07:38 +01:00
History