package lambda-term

  1. Overview
  2. Docs
Terminal manipulation library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambda-term-2.0.1.tbz
sha256=541cda520f42bc5551175e0d24ddec8724b9391d52da7c7253f7817972c49a5a
md5=4b4b8480fe1280e1ed2a34ed93d16675

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.