You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Z ends up in quite a different spot when color output is enabled vs disabled!
I believe that since ColorfulString already knows how to calculate its printable length, it would be able to appropriately handle field width specifications if it were to implement __format__.
That method is used by both the f-string literals and format().
The text was updated successfully, but these errors were encountered:
Consider
The
Z
ends up in quite a different spot when color output is enabled vs disabled!I believe that since ColorfulString already knows how to calculate its printable length, it would be able to appropriately handle field width specifications if it were to implement
__format__
.That method is used by both the f-string literals and
format()
.The text was updated successfully, but these errors were encountered: