module LTerm_key: sig
.. end
Keys
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 of key code.
type
t = {
|
control : bool ; |
|
meta : bool ; |
|
shift : bool ; |
|
code : code ; |
}
Type of key.
val compare : t -> t -> int
Same as Pervasives.compare
.
val control : t -> bool
val meta : t -> bool
val code : t -> code
val to_string : t -> string
Returns the string representation of the given key.
val to_string_compact : t -> string
Returns the string representation of the given key in the form
"C-M-a".