Skip to content

v1.1.5

Compare
Choose a tag to compare
@Tails86 Tails86 released this 20 Nov 02:18
· 27 commits to main since this release

Version 1.1.5

  • AnsiSetting.parsable now dynamically determines parsability based on the setting string
    • This means that all incoming settings are parsed to determine if the formatting is optimizable, not just specific types
    • This fixed an issue with strings generated with settings from AnsiFormat.rgb() functions were marked as not optimizable
  • Break out ANSI parsing functionality into its own file: ansi_parsing.py (accessible but not yet documented)
  • AnsiString.simplify() and AnsiStr.simplify() now throw out AnsiSetting objects that contain invalid characters which would terminate the escape sequence
  • Fixed some issues related to function code sequence detection (38, 48, 58)

https://pypi.org/project/ansi-string/1.1.5/