You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.terminal
Vt
type color =
| Default
| Black
| Red
| Green
| Yellow
| Blue
| Magenta
| Cyan
| White
type attrs = {
fg : color;
bg : color;
bold : bool;
reverse : bool;
}
type cell = {
glyph : string;
attrs : attrs;
val plain : attrs
val blank : cell
type t
val create : rows:int -> cols:int -> t
val feed : t -> string -> t
val rows : t -> int
val cols : t -> int
val cell : t -> int -> int -> cell
val cursor : t -> int * int
val cursor_visible : t -> bool
val bells : t -> int
val text : t -> string list
val key : ?alt:bool -> ctrl:bool -> string -> string option