This release follows the Dahlia Specification v1.0.0.
Huge thanks to @Maneren for help! ❤️
Added
- Builder pattern for the
Dahlia
struct - Automatic color depth detection (builder has a method
with_auto_depth
) - Style-specific reset codes
- The
&_
escape code andescape
method - The
clean_ansi
function should now handle way more ANSI escape codes - Comprehensive test suite
- String conversions are now approximately ~20% faster
Changed
- The "Blink" style code was changed from
&p
to&k
- The custom color syntax was changed from
&[#ffaff3]
to&#ffaff3;
and now
supports shorthand 3-digit codes - The full reset code is now
&R
instead of&r
- The "Hide" style code was changed from
&k
to&h
- The
no_reset
parameter was renamed toauto_reset
and now
defaults toTrue
Removed
Dahlia::reset
Dahlia::test
- Dahlia's
no_color
parameter - The
&g
code