Module Key_actions.Key

type special = [
  1. | `Escape
  2. | `Enter
  3. | `Tab
  4. | `Backspace
  5. | `Insert
  6. | `Delete
  7. | `Home
  8. | `End
  9. | `Arrow of [ `Up | `Down | `Left | `Right ]
  10. | `Page of [ `Up | `Down ]
  11. | `Function of Base.int
]
val compare_special : special -> special -> Base.int
val equal_special : special -> special -> Base.bool
val sexp_of_special : special -> Sexplib0.Sexp.t
type key = [
  1. | special
  2. | `Uchar of Base.Uchar.t
  3. | `ASCII of Base.char
]
val compare_key : key -> key -> Base.int
val equal_key : key -> key -> Base.bool
val sexp_of_key : key -> Sexplib0.Sexp.t
type mods = [
  1. | `Meta
  2. | `Ctrl
  3. | `Shift
]
val compare_mods : mods -> mods -> Base.int
val equal_mods : mods -> mods -> Base.bool
val sexp_of_mods : mods -> Sexplib0.Sexp.t
type t = key * mods Base.option
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool
include Ppx_hash_lib.Hashable.S_any with type t := t
val hash_fold_t : t Ppx_hash_lib.hash_fold
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_string : t -> Base.string
val from_notty_encoding : (key * mods Base.list) -> t