package lambda-term

  1. Overview
  2. Docs

Unix specific functions

val sigwinch : int option

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

val system_encoding : string

The encoding used by the system.

val parse_event : ?escape_time:float -> CamomileLibraryDefault.Camomile.CharEncoding.t -> 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.