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
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
Since the current functionality relating to colors is only limited to calculating the string_width, I would suggest a single line addition that removes ANSI color control sequences from the string before calculating the length. The reason I suggest it is, this leaves the user the freedom to use his color library of choice (e.g. colorama). For example, now that I use colorama extensively in my project, switching to colorclass becomes a bit of a pain now.
The text was updated successfully, but these errors were encountered:
Since the current functionality relating to colors is only limited to calculating the string_width, I would suggest a single line addition that removes ANSI color control sequences from the string before calculating the length. The reason I suggest it is, this leaves the user the freedom to use his color library of choice (e.g. colorama). For example, now that I use colorama extensively in my project, switching to colorclass becomes a bit of a pain now.
The text was updated successfully, but these errors were encountered: