package lambda-term

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Events

type 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.

val to_string : t -> string

to_string event returns the string representation of the given event.