- 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