Skip to content

Bug: it counts ansii colour info as part of width resulting in wrong wrapping #28

Open
@emahuni

Description

wrap(chalk`{green this} {red is} a long string {bold to be} {yellow wrapped}`,5);

will not wrap corretly because it is including ansi color info as part of the string.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions