Merge pull request #7289 from blueyed/fix-light-colors

console: use bright colors instead of bold
This commit is contained in:
Takeshi KOMIYA authored and GitHub committed 2020-03-15 01:49:50 +09:00
commit df9854abb6
1 file changed
+3 -3
+3 -3
View File
@@ -132,9 +132,9 @@ _colors = [
('lightgray', 'white'),
]
for i, (dark, light) in enumerate(_colors):
codes[dark] = '\x1b[%im' % (i + 30)
codes[light] = '\x1b[%i;01m' % (i + 30)
for i, (dark, light) in enumerate(_colors, 30):
codes[dark] = '\x1b[%im' % i
codes[light] = '\x1b[%im' % (i + 60)
_orig_codes = codes.copy()