v0.2.0
Added
-
Apple Terminal Strikethrough Fallback: Implemented an automated fallback engine for macOS Terminal.app that dynamically embeds Unicode combining long stroke characters (
\u{0336}) through printable text strings to resolve its native lack of\x1b[9mANSI sequence support. -
Zero-Allocation Lazy Evaluation: Introduced
StyledRefto lazily stream ANSI text styling configurations directly to formatting targets viafmt::Displayimplementation, completely eliminating heap allocations on formatting passes.
Breaking Changes
- Reference-Bound
Style::applyAPI: The signature ofStyle::applynow accepts arguments by shared reference (&T) instead of taking ownership by value. Passing owned primitives or numeric constants manually now explicitly requires a reference borrow prefix (e.g.,style.apply(&34)instead ofstyle.apply(34)). Normal string literals remain unaffected as they naturally satisfy the reference type bound (&str).