Skip to content

0.1.6

Latest
Compare
Choose a tag to compare
@ponylang-main ponylang-main released this 09 Jan 18:34
· 11 commits to main since this release

Add support for not colorizing the terminal output

Prior to this change any error message called via PegFormatError.console
would return an error message with ANSI escape sequence code for coloring. This
created a problem when piping the output to something other than a terminal.

This change adds the ability to remove ANSI escape sequence codes from the
output. The change is non-breaking as the default behavior is to colorize
the output. The colorization can be turned off by supplying false to
the colorize parameter:

PegFormatError.console(error, false)

[0.1.6] - 2024-01-09

Added

  • Add support for not outputting color to terminal (PR #44)