Description
Hi,
I've been using the debug() function of devtools to print out some data structures for about 1-2 months now and I've been loving it!
After taking a break from a Python program for about 2 weeks I've gone back to start improving it again and I've noticed that now, when I use debug(), the colorized output looks very weird. Since I haven't seen any other GitHub issues on the subject I'm sure the problem is on my end, but I can't figure out what it is.
To simplify things, I've created a new venv, installed devtools and Pygments using the suggested pip install devtools[pygments]
:
❯ pip list
Package Version
---------- -------
devtools 0.6
pip 20.2.4
Pygments 2.7.1
setuptools 49.2.1
❯ python -V
Python 3.8.6
and created the simplest program I could think of:
#!/usr/bin/env python
from devtools import debug
a = 5
debug(a)
Still, the output is like this:
I normally use Bash on ArchLinux, but I've tried running this in Fish with the same result. I have installed a fresh Fedora 32 Workstation in a VM, created a new venv, and tried the same program, and get the same result.
I really don't understand why I am suddenly getting this results and what I am doing wrong.
Any tips/hints on where I should look to troubleshoot further? Thanks.