module LTerm_key:sig
..end
type
code =
| |
Char of |
(* |
A unicode character.
| *) |
| |
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 : |
(* |
Is the control key down ?
| *) |
|
meta : |
(* |
Is the meta key down ?
| *) |
|
shift : |
(* |
Is the shift key down ?
| *) |
|
code : |
(* |
The code of the key.
| *) |
val compare : t -> t -> int
Pervasives.compare
.val control : t -> bool
val meta : t -> bool
val code : t -> code
val to_string : t -> string
val to_string_compact : t -> string