-
boxx
is nowbillboard
! - EverlastingBugstopper, pull/6I think it's a much cleaner name and usage is small enough at this point that it doesn't seem too disruptive. This will be the last time the project is renamed 🤞
-
**
Billboard::as_str
returns aString
instead of aResult<String, VisualWidthError>
- EverlastingBugstopper, [pull/5]Billboard
makes more extensive use ofconsole
's fancy API which doesn't return any errors, yay!
-
Properly display
Boxx
when content includes ANSI escapes - EverlastingBugstopper, issue/3A common use case for eventual
Boxx
consumers will be displaying boxxed content with colors. Strings include ANSI escapes which are then interpreted by terminals. Since there is more information, they require more bytes, which means the visual width must be calculated independently from the byte width.Boxx
now strips ANSI escapes from strings when calculating the padding and margin for the content.
- Some examples were added to the documentation.