Releases: jquast/wcwidth
Releases · jquast/wcwidth
0.7.0
- New support for kitty text sizing protocol (OSC 66) in
width()andclip(). - New
clip()parametercontrol_codes='parse','ignore', and'strict'.clip()
is now able to clip OSC 8 hyperlinks and OSC 66 text sizing sequences. - Improved
clip()andwidth()to support horizontal cursor sequences (cub,cuf,
hpa). Cursor-left (cub) or backspace (\b) now overwrites text. column_address
(hpa) and carriage return (\r) are now parsed, and more values conditionally raise
ValueErrorwhencontrol_codes='strict'.
PR's
- Remove docs, add utils by @jquast in #209
- Bump requests from 2.32.5 to 2.33.0 in /docs by @dependabot[bot] in #210
- Bump pygments from 2.19.2 to 2.20.0 in /docs by @dependabot[bot] in #212
- dependabot nonsense by @jquast in #215
- Expand terminal escape sequence for three more ECMA-48 "families" by @jquast in #214
- Improve clip() and width() with hyperlinks and overtyping by @jquast in #216
- Improve width() and clip() with kitty Text Sizing Protocol by @jquast in #213
Full Changelog: 0.6.0...0.7.0
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
- Drop Support of many historical versions of wide and zero unicode tables. Only the latest Unicode version (17.0.0) is now shipped. The related
unicode_version='auto'keyword of thewcwidth()-family of functions are ignored.list_versions()always returns a tuple of only a single element of the only unicode version supported. #195 - Performance improvement of most common call without version or ambiguous_width specified by 20%. #195
- New Function
propagate_sgr()for applying SGR state propagation to a list of lines. #194 - Improved
wrap()andclip()withpropagate_sgr=True. #194 - Bugfix
clip()zero-width characters at clipping boundaries. #194 - Bugfix OSC Hyperlinks when broken mid-text by
wrap(). #193
Full Changelog: 0.4.0...0.5.0
0.4.0
0.3.5
- Re-stamp package version correctly, 0.3.4 packaged a failing test
Full Changelog: 0.3.4...0.3.5