package ansi

  1. Overview
  2. Docs
ANSI escape sequence parser

Install

Dune Dependency

Authors

Maintainers

Sources

ansi-0.7.0.tbz
sha256=672b6a131eebc7d1291a4ad9ad4414a89e251e181e67e83b4ec90cb578e4a8a4
sha512=314bc4ef3ce6fd23dd46033478e6e9fd2307704697603b6d20354f4eaf69666b16c0bdd960e5b347f587465e60f42bb3f21ac1e266cdebd042709d9125791bf0

CHANGES.md.html

0.7.0 (2023-09-18)

  • Fix CSS for italic. (#18, @haochenx)

  • Respect reverse attr when default color is active. (#17, @haochenx)

  • Support faint and double underline styles. (#14, @MisterDA)

0.6.0 (2022-12-20)

  • Support OSC hyperlinks. (#13, @MisterDA) https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

  • Support italic and underline escape sequences with .italic and .underline CSS classes. (#11, @MisterDA)

  • Fix range of intermediate bytes. (#8, @MisterDA)

  • Add Ansi.strip to strip ANSI escape sequences part of a string. Support stripping OSC sequences. (#7, #9, #12, @MisterDA)

  • Support 8-bit colour palette, bright colours. (#6, @MisterDA)

  • Expose default foreground and background colors with .fg-default and .bg-default CSS classes. (#6, #10, MisterDA)

  • Fix bold/bright confusion, expose .bold CSS class. (#6, #10 @MisterDA)

  • Expose alternative 16-colours colorschemes (xterm dark, solarized light and dark). (#6, @MisterDA)

0.5.0 (2022-03-31)

  • Rename to ansi (#2, @samoht)

  • ansi: 24-bit colour parsing (#1, @copy)

  • Split into its own repository.

v0.3 and v0.4

No changes (released as part of OCurrent).

v0.2

Make transitive dependencies explicit in dune file.

v0.1

Initial release.

OCaml

Innovation. Community. Security.