-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi,
I recognized that crayons can't deal with string formatted with padding. Examples:
>>> import crayons
>>> print("{:15}".format(crayons.red('NOTE:', bold=True)))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported format string passed to ColoredString.__format__
>>> print("{}".format(crayons.red('NOTE:', bold=True)))
NOTE:
Any ideas?
Regards, Thomas
Metadata
Metadata
Assignees
Labels
No labels