Skip to content

ANSI color is shifted off by one by close bracket #264

@mntn-xyz

Description

@mntn-xyz

Source file:

```
^[[0mThis is a short [^[[1m^[[37m^[[40mMarkdown^[[0m](^[[36m^[[40mhttps://en.wikipedia.org/wiki/Markdown^[[0m) line.
```

Result:
image

How it looks with cat:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamThe issue is with a library.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions