package lambda-term

  1. Overview
  2. Docs
Terminal manipulation library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambda-term-3.3.1.tbz
sha256=5b77cbe096d56ae9157cb1fb55fb4e9028c89e841b1d2bfad4f13d8a1395db3c
sha512=d7968ad000c9c7e899ffb7fdd0016009f41c71d9fad4897decbe66ea24140ab1ee8428fd550c7b8016e7f6343f41e7abd53b52b5f2bf6bb85b4de64f12ac9161

doc/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.