package inquire

  1. Overview
  2. Docs
An OCaml library to create beautiful interactive CLIs

Install

Dune Dependency

Authors

Maintainers

Sources

inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827

doc/inquire.lambda-term/LTerm_unix/index.html

Module LTerm_unixSource

Unix specific functions

Sourceval sigwinch : int option

The number of the signal used to indicate that the terminal size have changed. It is None on windows.

Sourceval system_encoding : string

The encoding used by the system.

Sourceval parse_event : ?escape_time:float -> char Lwt_stream.t -> LTerm_event.t Lwt.t

parse_event encoding stream parses one event from the given input stream. encoding is the character encoding used to decode non-ascii characters. It must be a converter from the stream encoding to "UCS-4BE". If an invalid sequence is encountered in the input, it fallbacks to Latin-1. escape_time is the time waited before returning the escape key. It defaults to 0.1.

OCaml

Innovation. Community. Security.