FIX bug in bold colors
This commit is contained in:
parent
d30d5f32c4
commit
8290eeaa9b
@ -24,7 +24,7 @@ filepath = cyan
|
|||||||
def dye(s, color=end, bold=False):
|
def dye(s, color=end, bold=False):
|
||||||
assert color[0] == '\033'
|
assert color[0] == '\033'
|
||||||
if bold:
|
if bold:
|
||||||
s = '\033[1' + s[3:]
|
color = '\033[1' + color[3:]
|
||||||
return color + s + end
|
return color + s + end
|
||||||
|
|
||||||
_dye = dye
|
_dye = dye
|
||||||
|
Loading…
x
Reference in New Issue
Block a user