Terminal styling and layout widgets for OCaml (tables, trees, panels, colors)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+25 -3
+13 -2
README.md
··· 82 82 83 83 ## Installation 84 84 85 + Install with opam: 86 + 87 + ```sh 88 + $ opam install tty 85 89 ``` 86 - opam install tty 90 + 91 + If opam cannot find the package, it may not yet be released in the public 92 + `opam-repository`. Add the overlay repository, then install it: 93 + 94 + ```sh 95 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 96 + $ opam update 97 + $ opam install tty 87 98 ``` 88 99 89 100 ## Quick Start ··· 171 182 open Tty 172 183 173 184 let () = 174 - let panel = Panel.create 185 + let panel = Panel.v 175 186 ~border:Border.rounded 176 187 ~title:(Span.text "Summary") 177 188 (Span.text "Processed 1,234 files\nFound 42 issues\nFixed 38 automatically")
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries tty tty-eio fmt))
+5 -1
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 3 4 (name tty) 4 5 ··· 22 23 (uucp (>= 15.0)) 23 24 (uutf (>= 1.0)) 24 25 (alcotest :with-test) 26 + (mdx :with-test) 25 27 (alcobar :with-test))) 26 28 27 29 (package ··· 35 37 (ocaml (>= 5.1)) 36 38 (tty (= :version)) 37 39 (eio (>= 1.0)) 38 - logs)) 40 + (mdx :with-test) 41 + logs 42 + (fmt :with-test)))
+2
tty-eio.opam
··· 13 13 "ocaml" {>= "5.1"} 14 14 "tty" {= version} 15 15 "eio" {>= "1.0"} 16 + "mdx" {with-test} 16 17 "logs" 18 + "fmt" {with-test} 17 19 "odoc" {with-doc} 18 20 ] 19 21 build: [
+1
tty.opam
··· 16 16 "uucp" {>= "15.0"} 17 17 "uutf" {>= "1.0"} 18 18 "alcotest" {with-test} 19 + "mdx" {with-test} 19 20 "alcobar" {with-test} 20 21 "odoc" {with-doc} 21 22 ]