Skip to content

πŸ› 0.0.2-beta

Pre-release
Pre-release
Compare
Choose a tag to compare

Fixes

  • Properly display Boxx when content includes ANSI escapes - EverlastingBugstopper, issue/3 pull/4

    A 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.

Maintenance

  • Some examples were added to the documentation.