Skip to content

Commit 00e67c8

Browse files
committed
[new release] ansi (0.6.0)
CHANGES: * Support OSC hyperlinks. (ocurrent/ansi#13, @MisterDA) https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda * Support italic and underline escape sequences with `.italic` and `.underline` CSS classes. (ocurrent/ansi#11, @MisterDA) * Fix range of intermediate bytes. (ocurrent/ansi#8, @MisterDA) * Add `Ansi.strip` to strip ANSI escape sequences part of a string. Support stripping OSC sequences. (ocurrent/ansi#7, ocurrent/ansi#9, ocurrent/ansi#12, @MisterDA) * Support 8-bit colour palette, bright colours. (ocurrent/ansi#6, @MisterDA) * Expose default foreground and background colors with `.fg-default` and `.bg-default` CSS classes. (ocurrent/ansi#6, ocurrent/ansi#10, MisterDA) * Fix bold/bright confusion, expose `.bold` CSS class. (ocurrent/ansi#6, ocurrent/ansi#10 @MisterDA) * Expose alternative 16-colours colorschemes (xterm dark, solarized light and dark). (ocurrent/ansi#6, @MisterDA)
1 parent b50d55d commit 00e67c8

File tree

1 file changed

+42
-0
lines changed
  • packages/ansi/ansi.0.6.0

1 file changed

+42
-0
lines changed

packages/ansi/ansi.0.6.0/opam

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
synopsis: "ANSI escape sequence parser"
3+
description:
4+
"This package provides a basic ANSI escape parser, allowing the OCurrent web UI to show logs in colour."
5+
maintainer: ["Antonin Décimo <[email protected]>" "<[email protected]>"]
6+
authors: ["Antonin Décimo <[email protected]>" "[email protected]"]
7+
license: "Apache-2.0"
8+
homepage: "https://github.com/ocurrent/ansi"
9+
bug-reports: "https://github.com/ocurrent/ansi/issues"
10+
depends: [
11+
"dune" {>= "3.6"}
12+
"ocaml" {>= "4.10.0"}
13+
"astring"
14+
"fmt" {>= "0.8.7"}
15+
"tyxml"
16+
"alcotest" {with-test}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@runtest" {with-test}
30+
"@doc" {with-doc}
31+
]
32+
]
33+
dev-repo: "git+https://github.com/ocurrent/ansi.git"
34+
url {
35+
src:
36+
"https://github.com/ocurrent/ansi/releases/download/0.6.0/ansi-0.6.0.tbz"
37+
checksum: [
38+
"sha256=360c63014f0d2ea2e840498defa00e0ec982d7cee76438e86ee5f23f0d3597aa"
39+
"sha512=c986201c699261e860c934a5440dff7f70e47bf2442c388eecd7f699d1310dffcde0659844b0d508673430cd36b0ee8266599e36e79eb6ad4a0bdbfcecf2a059"
40+
]
41+
}
42+
x-commit-hash: "b0e91b2834b48e70b5d662de8eb133510564a7e2"

0 commit comments

Comments
 (0)