Releases: leaanthony/go-ansi-parser
Releases · leaanthony/go-ansi-parser
v1.6.1
- Tolerate leading zeros in numeric color parameters. Fixed by @jeffwilliams in PR
v1.6.0
What's Changed
- Add fields to StyledText for offset and length in input string by @jeffwilliams in #5
New Contributors
- @jeffwilliams made their first contribution in #5
Full Changelog: v1.5.0...v1.6.0
v1.5.0
- Fix bug with processing colour ids < 16 in 8-bit colour mode
- Support newer "bright" colour codes 90-97 and 100-107
v1.4.0
What's Changed
- Options specifies how to parse by @pavelpatrin in #2
New Contributors
- @pavelpatrin made their first contribution in #2
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Support no colour codes in escape sequence
v1.2.0
- Support
Length()
v1.1.0
- Support
Truncate()
for truncating the given string to a given number of maximum characters whilst preserving formatting - Support
Cleanse()
for removing escape codes from the given string - Support
HasEscapeCodes()
- returns true when there are ANSI Escape codes in the given string
v1.0.1
- Misc fixes
v1.0.0
Initial release