Closed alephmelo closed 5 years ago
@alephmelo I think this should work for you for now. I can try to work on a fix in the next few days.
import crayons
string = 'testing'
for letter in string:
print crayons.red('{:5}'.format(letter)),
Closing due to inactivity :+1:
Hey there, @kennethreitz!
I was hacking around a new cli-tool with some cool colored strings with crayons but I needed to make customization on formatting and ran into this issue.
The second attempt is using colorama's own API and worked as expected. I also tried using string interpolation like
%-5s
and it didn't work.Anyways, if point me out to where this issue is happening I'll gladly try to solve this and send a PR.
Thanks for the great work. :beer:
Cheers from Brazil.