# Module LTerm_event

    module LTerm_event: sig .. end

Events

    type t =

`|` | `Resize of `LTerm_geom.size`` | `(*` | The terminal has been resized. | `*)`
`|` | `Key of `LTerm_key.t`` | `(*` | A key has been pressed. | `*)`
`|` | `Sequence of `string`` | `(*` | An uninterpreted escape sequence. | `*)`
`|` | `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.