termpixels
termpixels copied to clipboard
wrap_text() is bad
wrap_text() is not only broken in some cases, but it assumes by default that all unicode spaces, and only unicode spaces, are word wrap break points. This is simply not true for all scripts, including some East Asian scripts which are otherwise supported.
Consider removing and recommending usage of textwrap module or uniseg package depending on user requirements.