Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Description
Steps to Reproduce
- Create source that would trigger a compiler error. For example main.c:
#include <stdio.h> void main(void) { printf("Hello world!") }
- Use a compiler that produces colourized output in a build script (for example use the wrapper colorgcc for gcc)
colorgcc -o hello main.c
- Run a build
- Open the build log
- Click on the View link
Expected Results
If ANSI colour codes are present then the ANSI colour codes are interpreted and the text is coloured
Actual Results
The build log is displayed as raw data.
From BAM-20384
It would be nice to support full RGB palette. It may help to read complex execution logs.
ANSI color support was implemented in BAM-10855.
Convertion details described in hterm terminal documentation:
https://chromium.googlesource.com/apps/libapps/+/HEAD/hterm/doc/ControlSequences.md#SGR-extended-color
Attachments
Issue Links
- relates to
-
BAM-10855 Convert ANSI color codes to HTML when displaying logs
- Closed