package tty

  1. Overview
  2. Docs
A library for interacting with teletype and terminal emulators

Install

Dune Dependency

Authors

Maintainers

Sources

tty-0.0.2.tbz
sha256=79e0f963efd05d9cc5a041ef392663d90ef857c04ae63dcbbb766cae3d98514b
sha512=40667f04fe390da339e1b2e818379e0e477486d083a278903a5005d67f406d06d9d65ed4836fe8c69a9e6c1ca9de83f197ba85e2ec53e675e1c2105024268fb3

CHANGES.md.html

Changes

0.0.2

  • fix: use select to check for reads, instead of setting the stdin fd to non-blocking. This caused issues on Mint Tea's rendering of many emojis or colored symbols.

  • chore: drop dune as a dependency to fix .opam files

  • feat: create colors from RGB tuples

  • feat: pretty print colors

0.0.1

Initial release, including:

  • High-level Terminal module for controlling a terminal

  • Async-input with UTF-8 support in the Stdin module

  • Terminal Profiles for determining what color palettes are available

  • A Color module for parsing and working with RGB/ANSI/ANSI256 colors

  • A collection of 60 escape sequence functions in Escape_seq

  • a lot of room for improvement!

OCaml

Innovation. Community. Security.