package lambda-term

  1. Overview
  2. Docs
Terminal manipulation library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.0.tar.gz
sha256=65e16c9a52fa03a6b3a3772566414b0d35cadceac3f244301ef56dad4c6ccc18
md5=3ee0d8b6cb31f20a07fcbf34990f8a4b

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.

OCaml

Innovation. Community. Security.