Skip to content

Releases: luciancooper/tty-strings

v1.4.0

27 Jun 00:58
Compare
Choose a tag to compare

Features

  • Support measuring column width of grapheme extenders like '𝅘𝅥𝅰' (1ec718b)
  • Support measuring column width of composed hangul syllables like '뼕' (a182f2e)
  • Remove NFC Unicode string normalization from the charWidths, stringLength, stringWidth, and wordWrap methods (e4db023)
  • Support 8 or 24 bit color ANSI escape sequences with missing parameters like ESC[38;2;150m (545008b)

v1.3.0

23 Apr 18:44
Compare
Choose a tag to compare

Features

  • Support Unicode version 15.1.0 (e0a7349)
  • Support compound ANSI style escape sequences like ESC[31;46m (a7c278e)
  • Support ANSI escape sequences with omitted parameters like ESC[m (7343995)

v1.2.0

03 Mar 06:32
Compare
Choose a tag to compare

Features

  • Support Unicode version 15.0.0 (f34acba)

v1.1.0

25 Jun 21:38
Compare
Choose a tag to compare

Features

v1.0.2

17 Jun 12:59
Compare
Choose a tag to compare

Fixes

  • typo in package.json types field (bf51ef8)

v1.0.1

05 Jun 03:13
Compare
Choose a tag to compare

Features

  • add typescript definitions (7136d54)

Fixes

  • wrap: support input with ansi escapes that span multiple lines (51f57bd)
  • slice: ensure sliceColumns does not return extra control chars (5e6af38)