package mew_vi

  1. Overview
  2. Docs
type code =
  1. | Char of string
  2. | Enter
  3. | Escape
  4. | Tab
  5. | Up
  6. | Down
  7. | Left
  8. | Right
  9. | F1
  10. | F2
  11. | F3
  12. | F4
  13. | F5
  14. | F6
  15. | F7
  16. | F8
  17. | F9
  18. | F10
  19. | F11
  20. | F12
  21. | Next_page
  22. | Prev_page
  23. | Home
  24. | End
  25. | Insert
  26. | Delete
  27. | Backspace
val code_to_int : code -> int
val code_to_string : code -> string
type t = {
  1. control : bool;
  2. meta : bool;
  3. shift : bool;
  4. code : code;
}
val t_to_int : t -> int * int list
val t_to_string : t -> string
type modifier =
  1. | Control
  2. | Meta
  3. | Shift
val compare_code : t -> t -> int
val compare_modifier : t -> t -> int
module Modifiers : sig ... end
type modifiers = Modifiers.t
val compare : t -> t -> int
val control : t -> bool
val meta : t -> bool
val shift : t -> bool
val code : t -> code
val create : code:code -> modifiers:Modifiers.t -> t
val create_modifiers : Modifiers.elt list -> Modifiers.t
val modifiers : t -> Modifiers.t
val modifier : key:t -> modifier:modifier -> bool
val equal : t -> t -> bool
val hash : t -> int
val to_string : t -> string