Skip to content

terminal "normal" codes fix #150

Closed
Closed

Description

@mnovakvr

Please add another terminal invisible codes "\x1b[m\x0f" and "\x1b(B\x1b[m".
The result would be:

_invisible_codes = re.compile(
r"\x1b[\d+[;\d]m|\x1b[\d;\d*;\dm|\x1b[m\x0f|\x1b(B\x1b[m"
) # ANSI color codes
_invisible_codes_bytes = re.compile(
b"\x1b\[\d+\[;\d]m|\x1b\[\d;\d
;\d*m|\x1b\[m\x0f|\x1b\(B\x1b\[m"
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions