package terml

  1. Overview
  2. Docs
Terml is a pure-ocaml library for manipulating terminal output. Making possible to write text-based interfaces with ease

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=7ad09195005ca968f860c9725fa73d9c
sha512=57bfc414cdbef7bfa9c073ba3b535e4a0639621ee8c43b2493c5122b0381612fcd67b3992915b488aec38d4a41ba622fb7ae4b6d61569c6d647b740f69cce72b

doc/CHANGES.html

0.0.1 (2024-03-25)

Initial release of the library, this is a development release, which means that the API may receive breaking changes without previous warnings.

We aim to guarantee backwards compatibility once we release the first major version 1.0.0.

Features

  • Create styled text with Style module.
  • Execute and queue commands with Command module.
  • Perform cursor operations with Cursor module.
  • Read and poll events from Events module.
  • Perform terminal operations with Terminal module.

Examples

  • Alternate Screen - display how to enter and leave the alternate screen;
  • Cursor Position - display how to handle cursor movements;
  • Polling Events - display how to poll for events from the events thread;
  • Raw mode - display how to enter and leave raw mode.
OCaml

Innovation. Community. Security.