Skip to content

Release v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 11:34

Breaking: Characters in the same style run now share one styles array, which makes styledCharsFromTokens and styledCharsToString faster.
StyledChar.styles is now readonly AnsiCode[]. To change a character's styles, assign it a new array.

  • Breaking: Require Node.js 22+ (#93)
  • Perf: share one readonly styles array per style run (#91)
  • Fix: Correctly parse SGR sequences with colon subparameters (#94)