package lambda-term
Module LTerm_key
Keys
type t = {control : bool;(*Is the control key down ?
*)meta : bool;(*Is the meta key down ?
*)shift : bool;(*Is the shift key down ?
*)code : code;(*The code of the key.
*)
}Type of key.
val control : t -> boolval meta : t -> boolval to_string : t -> stringReturns the string representation of the given key.
val to_string_compact : t -> stringReturns the string representation of the given key in the form "C-M-a".