-
Notifications
You must be signed in to change notification settings - Fork 2
/
curses_defs.go
135 lines (131 loc) · 2.54 KB
/
curses_defs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// godefs -g curses curses.c
// MACHINE GENERATED - DO NOT EDIT.
package curses
// Constants
const (
ERR = -0x1;
OK = 0;
A_NORMAL = 0;
A_ALTCHARSET = 0x400000;
A_BLINK = 0x80000;
A_BOLD = 0x200000;
A_DIM = 0x100000;
A_INVIS = 0x800000;
A_PROTECT = 0x1000000;
A_REVERSE = 0x40000;
A_STANDOUT = 0x10000;
A_UNDERLINE = 0x20000;
A_ATTRIBUTES = -0x100;
A_CHARTEXT = 0xff;
A_COLOR = 0xff00;
WA_NORMAL = 0;
WA_ALTCHARSET = 0x400000;
WA_BLINK = 0x80000;
WA_BOLD = 0x200000;
WA_DIM = 0x100000;
WA_INVIS = 0x800000;
WA_LEFT = 0x4000000;
WA_PROTECT = 0x1000000;
WA_REVERSE = 0x40000;
WA_RIGHT = 0x10000000;
WA_STANDOUT = 0x10000;
WA_UNDERLINE = 0x20000;
COLOR_BLACK = 0;
COLOR_BLUE = 0x4;
COLOR_GREEN = 0x2;
COLOR_CYAN = 0x6;
COLOR_RED = 0x1;
COLOR_MAGENTA = 0x5;
COLOR_YELLOW = 0x3;
COLOR_WHITE = 0x7;
KEY_BREAK = 0x101;
KEY_DOWN = 0x102;
KEY_UP = 0x103;
KEY_LEFT = 0x104;
KEY_RIGHT = 0x105;
KEY_HOME = 0x106;
KEY_BACKSPACE = 0x107;
KEY_F0 = 0x108;
KEY_DL = 0x148;
KEY_IL = 0x149;
KEY_DC = 0x14a;
KEY_IC = 0x14b;
KEY_EIC = 0x14c;
KEY_CLEAR = 0x14d;
KEY_EOS = 0x14e;
KEY_EOL = 0x14f;
KEY_SF = 0x150;
KEY_SR = 0x151;
KEY_NPAGE = 0x152;
KEY_PPAGE = 0x153;
KEY_STAB = 0x154;
KEY_CTAB = 0x155;
KEY_CATAB = 0x156;
KEY_ENTER = 0x157;
KEY_SRESET = 0x158;
KEY_RESET = 0x159;
KEY_PRINT = 0x15a;
KEY_LL = 0x15b;
KEY_A1 = 0x15c;
KEY_A3 = 0x15d;
KEY_B2 = 0x15e;
KEY_C1 = 0x15f;
KEY_C3 = 0x160;
KEY_BTAB = 0x161;
KEY_BEG = 0x162;
KEY_CANCEL = 0x163;
KEY_CLOSE = 0x164;
KEY_COMMAND = 0x165;
KEY_COPY = 0x166;
KEY_CREATE = 0x167;
KEY_END = 0x168;
KEY_EXIT = 0x169;
KEY_FIND = 0x16a;
KEY_HELP = 0x16b;
KEY_MARK = 0x16c;
KEY_MESSAGE = 0x16d;
KEY_MOVE = 0x16e;
KEY_NEXT = 0x16f;
KEY_OPEN = 0x170;
KEY_OPTIONS = 0x171;
KEY_PREVIOUS = 0x172;
KEY_REDO = 0x173;
KEY_REFERENCE = 0x174;
KEY_REFRESH = 0x175;
KEY_REPLACE = 0x176;
KEY_RESTART = 0x177;
KEY_RESUME = 0x178;
KEY_SAVE = 0x179;
KEY_SBEG = 0x17a;
KEY_SCANCEL = 0x17b;
KEY_SCOMMAND = 0x17c;
KEY_SCOPY = 0x17d;
KEY_SCREATE = 0x17e;
KEY_SDC = 0x17f;
KEY_SDL = 0x180;
KEY_SELECT = 0x181;
KEY_SEND = 0x182;
KEY_SEOL = 0x183;
KEY_SEXIT = 0x184;
KEY_SFIND = 0x185;
KEY_SHELP = 0x186;
KEY_SHOME = 0x187;
KEY_SIC = 0x188;
KEY_SLEFT = 0x189;
KEY_SMESSAGE = 0x18a;
KEY_SMOVE = 0x18b;
KEY_SNEXT = 0x18c;
KEY_SOPTIONS = 0x18d;
KEY_SPREVIOUS = 0x18e;
KEY_SPRINT = 0x18f;
KEY_SREDO = 0x190;
KEY_SREPLACE = 0x191;
KEY_SRIGHT = 0x192;
KEY_SRSUME = 0x193;
KEY_SSAVE = 0x194;
KEY_SSUSPEND = 0x195;
KEY_SUNDO = 0x196;
KEY_SUSPEND = 0x197;
KEY_UNDO = 0x198;
)
// Types