package lambda-term

  1. Overview
  2. Docs
Terminal manipulation library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.3.3.tar.gz
sha512=34be68128d82b7219a963ca7442948842fc26ff9dbd3be9eb76092be3a4cf7cb19bad043fdeed7f5607178375c472dc51c6eebea82145541836e7883320d342c

doc/lambda-term/LTerm_event/index.html

Module LTerm_eventSource

Events

Sourcetype t =
  1. | Resize of LTerm_geom.size
    (*

    The terminal has been resized.

    *)
  2. | Key of LTerm_key.t
    (*

    A key has been pressed.

    *)
  3. | Sequence of string
    (*

    An uninterpreted escape sequence.

    *)
  4. | Mouse of LTerm_mouse.t
    (*

    A mouse button has been pressed.

    *)

Event from the terminal.

Sourceval to_string : t -> string

to_string event returns the string representation of the given event.