prettyprinter-ansi-terminal

ANSI terminal backend for the »prettyprinter« package. http://github.com/quchen/prettyprinter

Version on this page:1.1.1.2
LTS Haskell 12.22:1.1.1.2
Stackage Nightly 2018-12-10:1.1.1.2
Latest on Hackage:1.1.1.2

See all snapshots prettyprinter-ansi-terminal appears in

BSD2 licensed by David Luposchainsky
Maintained by David Luposchainsky <dluposchainsky at google>

Module documentation for 1.1.1.2

There are no documented modules for this package.

ANSI terminal prettyprinter renderer

This package defines a renderer for documents generated by the prettyprinter package, suitable for displaying them on ANSI-compatible terminals, including colors, boldening, underlining and italication.

For more information about the prettyprinter in general, refer to the main prettyprinter package documentation.

Changes

1.1.1.2

  • Fix documentation claiming there would be a trailing newline in renderIO when there is none

1.1.1.1

  • renderIO now renders directly to STDOUT, instead of first building a textual rendering and then printing that to STDOUT.

1.1.1

  • Expose AnsiStyle’s constructors for adaptability

1.1

  • Overhauled the API significantly – Styles are now combined using the Semigroup instance from a number of readable primitives.

1.0.1

Fix version shenanigans, since the prerelease was released to Hackage as version 1 already, so uploading the »new« version 1 did not work

1

Initial release

comments powered byDisqus