package lambda-term

  1. Overview
  2. Docs
Terminal manipulation library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

lambda-term-3.3.0.tbz
sha256=589f7e1fd3584a174ddf1cb96d5c5dee45a1be2e6ea5ca5a44c41222d74a27ce
sha512=e8f302ce669ae161454584ddee21c57d58f9539ab94e4e31b15d821f277fd8be980cf0a47e9c6949f16d14823d511b31d2048d9315547cb97dffdb617507de5a

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.

OCaml

Innovation. Community. Security.