Kitty Graphics Protocol in OCaml
terminal graphics ocaml
1type t = [ `None | `Zlib ] 2 3let to_char : t -> char option = function 4 | `None -> None 5 | `Zlib -> Some 'z'