aziz / SublimeANSI

ANSI escape codes color highlighting for SublimeText 3
225 stars 40 forks source link

Does not work with python colored traceback #29

Open gregdingle opened 8 years ago

gregdingle commented 8 years ago

See https://pypi.python.org/pypi/colored-traceback/0.2.0 .

I got it working with mocha test output, but not this python package. The ANSI escape codes are stripped but no colors appear.

Repro steps:

  1. pip install colored-traceback
  2. write python script with raise
  3. Build in sublime
  4. See no colors in traceback output

This is with the public release on package manager.

Dakta commented 6 years ago

Python colored-traceback uses RGB terminal colors via curses. RGB colors are currently not supported by this project. Example colored-traceback output, showing RGB color escapes (e.g. ):

$ python test.py
Traceback (most recent call last):
  File "test.py", line 3, in <module>
    raise
RuntimeError: No active exception to reraise