Skip to content

tiptenbrink/textwrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textwrap

PyPI version

A backport of upcoming python/cpython#28136 with some additional fixes.

Motivated due to jquast/blessed using textwrap, but this fails for zero-width characters. This allows setting text_len to, for example, wcswidth for more accuracy when word wrapping in the terminal.

This uses the backports package style, see https://pypi.python.org/pypi/backports.