enum Tput::Key
Defined in:
tput/keys.crEnum Members
-
CtrlA =
1
-
CtrlB =
2
-
CtrlC =
3
-
CtrlD =
4
-
CtrlE =
5
-
CtrlF =
6
-
CtrlG =
7
-
CtrlH =
8
-
Tab =
9
-
CtrlI =
9
-
CtrlJ =
10
-
CtrlK =
11
-
CtrlL =
12
-
Enter =
13
-
CtrlM =
13
-
CtrlN =
14
-
CtrlO =
15
-
CtrlP =
16
-
CtrlQ =
17
-
CtrlR =
18
-
CtrlS =
19
-
CtrlT =
20
-
CtrlU =
21
-
CtrlV =
22
-
CtrlW =
23
-
CtrlX =
24
-
CtrlY =
25
-
CtrlZ =
26
-
Escape =
27
-
Space =
32
-
Backspace =
127
-
AltEnter =
128
-
ShiftTab =
129
-
FixAutonumbering =
1000
-
Never used in code, just a hint for Crystal to not create collisions while assigning enum numbers to the following, unnumbered fields.
-
Home =
1001
-
End =
1002
-
PageUp =
1003
-
PageDown =
1004
-
Insert =
1005
-
Delete =
1006
-
Up =
1007
-
Down =
1008
-
Left =
1009
-
Right =
1010
-
ShiftUp =
1011
-
ShiftDown =
1012
-
ShiftLeft =
1013
-
ShiftRight =
1014
-
CtrlUp =
1015
-
CtrlDown =
1016
-
CtrlLeft =
1017
-
CtrlRight =
1018
-
AltUp =
1019
-
AltDown =
1020
-
AltLeft =
1021
-
AltRight =
1022
-
F1 =
1023
-
F2 =
1024
-
F3 =
1025
-
F4 =
1026
-
F5 =
1027
-
F6 =
1028
-
F7 =
1029
-
F8 =
1030
-
F9 =
1031
-
F10 =
1032
-
F11 =
1033
-
F12 =
1034
-
AltA =
1035
-
AltB =
1036
-
AltC =
1037
-
AltD =
1038
-
AltE =
1039
-
AltF =
1040
-
AltG =
1041
-
AltH =
1042
-
AltI =
1043
-
AltJ =
1044
-
AltK =
1045
-
AltL =
1046
-
AltM =
1047
-
AltN =
1048
-
AltO =
1049
-
AltP =
1050
-
AltQ =
1051
-
AltR =
1052
-
AltS =
1053
-
AltT =
1054
-
AltU =
1055
-
AltV =
1056
-
AltW =
1057
-
AltX =
1058
-
AltY =
1059
-
AltZ =
1060
-
Menu =
16777301
-
Unknown =
33554431
Class Method Summary
-
.read_control(char : Char, &) : Key | Nil
Reads a
Control
input from char.
Instance Method Summary
- #alt_a?
- #alt_b?
- #alt_c?
- #alt_d?
- #alt_down?
- #alt_e?
- #alt_enter?
- #alt_f?
- #alt_g?
- #alt_h?
- #alt_i?
- #alt_j?
- #alt_k?
- #alt_l?
- #alt_left?
- #alt_m?
- #alt_n?
- #alt_o?
- #alt_p?
- #alt_q?
- #alt_r?
- #alt_right?
- #alt_s?
- #alt_t?
- #alt_u?
- #alt_up?
- #alt_v?
- #alt_w?
- #alt_x?
- #alt_y?
- #alt_z?
- #backspace?
- #ctrl_a?
- #ctrl_b?
- #ctrl_c?
- #ctrl_d?
- #ctrl_down?
- #ctrl_e?
- #ctrl_f?
- #ctrl_g?
- #ctrl_h?
- #ctrl_i?
- #ctrl_j?
- #ctrl_k?
- #ctrl_l?
- #ctrl_left?
- #ctrl_m?
- #ctrl_n?
- #ctrl_o?
- #ctrl_p?
- #ctrl_q?
- #ctrl_r?
- #ctrl_right?
- #ctrl_s?
- #ctrl_t?
- #ctrl_u?
- #ctrl_up?
- #ctrl_v?
- #ctrl_w?
- #ctrl_x?
- #ctrl_y?
- #ctrl_z?
- #delete?
- #down?
- #end?
- #enter?
- #escape?
- #f10?
- #f11?
- #f12?
- #f1?
- #f2?
- #f3?
- #f4?
- #f5?
- #f6?
- #f7?
- #f8?
- #f9?
- #fix_autonumbering?
- #home?
- #insert?
- #left?
- #menu?
- #page_down?
- #page_up?
- #right?
- #shift_down?
- #shift_left?
- #shift_right?
- #shift_tab?
- #shift_up?
- #space?
- #tab?
- #unknown?
- #up?
Class Method Detail
Reads a Control
input from char. If an escape sequence was detected,
calls the given block for the next Char?
.