Render ANSI escape codes in the log viewer
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes I get this kind of errors in the log viewer:
```
[2019-08-12 21:06:27.455384] INFO: ipykernel.inprocess.ipkernel: Exception in execute request:
[0;31m---------------------------------------------------------------------------[0m
[0;31mNameError[0m Traceback (most recent call last)
[0;32m[0m in [0;36m[0;34m[0m
[0;32m----> 1[0;31m [0mpart[0m[0;34m[0m[0;34m[0m[0m
[0m
[0;31mNameError[0m: name 'part' is not defined
```
`[0;31m`, `[0;32m` and similar are [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code), that should be rendered correctly in the window (ie. with colors).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.