sig
  type code =
      Char of CamomileLibrary.UChar.t
    | Enter
    | Escape
    | Tab
    | Up
    | Down
    | Left
    | Right
    | F1
    | F2
    | F3
    | F4
    | F5
    | F6
    | F7
    | F8
    | F9
    | F10
    | F11
    | F12
    | Next_page
    | Prev_page
    | Home
    | End
    | Insert
    | Delete
    | Backspace
  type t = {
    control : bool;
    meta : bool;
    shift : bool;
    code : LTerm_key.code;
  }
  val compare : LTerm_key.t -> LTerm_key.t -> int
  val control : LTerm_key.t -> bool
  val meta : LTerm_key.t -> bool
  val code : LTerm_key.t -> LTerm_key.code
  val to_string : LTerm_key.t -> string
  val to_string_compact : LTerm_key.t -> string
end