summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2019-05-18 14:03:24 +0200
committerMatth?us G. Chajdas <dev@anteru.net>2019-05-18 14:03:24 +0200
commitef8476c4cb27220bb286f4410fe04ad22da0d2b4 (patch)
treeaa98d1b74c35f913c804769427b50d3e6c54a1b2
parent3bdc13e48a8eaa88f48325098293b5fed8f676af (diff)
downloadpygments-ef8476c4cb27220bb286f4410fe04ad22da0d2b4.tar.gz
Don't use bold for bright text in the console formatter (fixes #1480.)
-rw-r--r--pygments/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/console.py b/pygments/console.py
index e61744ce..e9f30ad8 100644
--- a/pygments/console.py
+++ b/pygments/console.py
@@ -30,7 +30,7 @@ light_colors = ["brightblack", "brightred", "brightgreen", "brightyellow", "brig
x = 30
for d, l in zip(dark_colors, light_colors):
codes[d] = esc + "%im" % x
- codes[l] = esc + "%i;01m" % x
+ codes[l] = esc + "%im" % (60 + x)
x += 1
del d, l, x