Skip to content

Ignore ANSI escape sequences when calculating text length #162

@olshevski

Description

@olshevski

For example colored strings like this: "\u001B[31mHello, world!\u001B[0m" will break the output.

The ability to use this library with some other library for colored output (e.g. I'm using https://github.com/nyabkun/qq-shell-color/tree/main) will be a nice feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions