Skip to content

Tags: jquast/wcwidth

Tags

0.7.0

Toggle 0.7.0's commit message
docfix for today's release

0.6.0

Toggle 0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Complete textwrap.wrap() with 6 missing params! (#207)

Make available all keyword parameters for ``wcwidth.wrap()`` as ``textwrap.wrap()``.

New Parameters expand_tabs, replace_whitespace, fix_sentence_endings, drop_whitespace, max_lines, and placeholder for wrap(), completing stdlib textwrap.wrap() compatibility.

0.5.3

Toggle 0.5.3's commit message
rephrase ucs-detect for upcoming version

0.5.2

Toggle 0.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Standalone emoji support (#202)

CLoses #133 and #154.

This decreases general performance by ~10% for complex CJK/combining and emoji strings.

- Regional Indicator pairs measured as one 2-cell flag; unpaired RI measured individually
- Fitzpatrick skin tone modifiers are zero-width when following an emoji base, Narrow when "standalone"

0.5.1

Toggle 0.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bugfix zero and wide tables were not trimmed (#196)

- Bugfix that the zero and wide tables were not actually trimmed in 0.5.0 release, pie on my face!
- also, add test coverage of ``_parse_sgr_params`` special SGR modes parsed

0.5.0

Toggle 0.5.0's commit message
some tiny punctuation fixes

0.4.0

Toggle 0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
New functions: iter_graphemes_reverse(), grapheme_boundary_before() (#…

…192)

As I audit and integrate with dependent libraries, in [urwid](https://github.com/urwid/urwid/) I find the need to help "move the cursor left" and look backwards from a location in a string to the previous boundary, while looking forward using ``iter_graphemes()``.

Looking backwards is provided by new function ``grapheme_boundary_before()``.

The more obvious function, ``iter_graphemes_reverse()`` is provided (though not useful to urwid). @penguinolog

0.3.5

Toggle 0.3.5's commit message
release 0.3.5 for failing test

0.3.4

Toggle 0.3.4's commit message
prepare for 0.3.4

0.3.3

Toggle 0.3.3's commit message
note the correct function in changelog