Translate ANSI color codes to HTML colors
Open
Feature
javascript
Product Area: Issues
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
### Problem Statement
This is a continuation of [#16744]().
[#16744]() was incorrectly closed in favor of getsentry/sentry#49804 and locked shortly after.
However, getsentry/sentry#49804 deals with `console.log` style arguments specifically, while [#16744]() was about the topic of ANSI color codes in logs.
For example, this `color-eyre::eyre::Report` print:
The same is true not only for the error message (as seen in the screenshot) but also for all log messages under *"Breadcrumbs"*.
### Solution Brainstorm
In the example, `[91m`, `[0m`, `[35m` should all be translated to rendered HTML color spans, reproducing the terminal colors.
### Product Area
Issues
Contributor guide
Assessment
This issue has not been assessed yet.