@opentui/core 0.8.4 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NativeScene.d.ts +11 -3
- package/Renderable.d.ts +22 -6
- package/ansi.d.ts +1 -1
- package/{chunk-bun-dsfc571f.js → chunk-bun-v1wzs0bj.js} +679 -112
- package/chunk-bun-v1wzs0bj.js.map +35 -0
- package/{chunk-bun-83k2gdpc.js → chunk-bun-xartp4ps.js} +8718 -9733
- package/chunk-bun-xartp4ps.js.map +68 -0
- package/{chunk-node-3ssb37vb.js → chunk-node-5cqzgmq3.js} +8718 -9733
- package/chunk-node-5cqzgmq3.js.map +68 -0
- package/{chunk-node-5nvhjp1a.js → chunk-node-mcdre3zn.js} +679 -112
- package/chunk-node-mcdre3zn.js.map +34 -0
- package/edit-buffer.d.ts +47 -6
- package/editor-view.d.ts +28 -0
- package/index.bun.js +1355 -4789
- package/index.bun.js.map +18 -24
- package/index.node.js +1355 -4789
- package/index.node.js.map +19 -31
- package/lib/KeyHandler.d.ts +1 -1
- package/lib/extmarks.d.ts +15 -51
- package/lib/index.d.ts +1 -2
- package/lib/kitty-keys.d.ts +2 -0
- package/lib/parse.keypress.d.ts +8 -3
- package/lib/parse.mouse.d.ts +0 -13
- package/lib/stdin-parser-native.d.ts +36 -24
- package/lib/terminal-capability-detection.d.ts +3 -3
- package/lib/terminal-palette.d.ts +3 -0
- package/lib/tree-sitter/client.d.ts +14 -3
- package/lib/tree-sitter/types.d.ts +10 -0
- package/lib/tree-sitter-styled-text.d.ts +2 -0
- package/lib/yoga.options.d.ts +3 -0
- package/native-abi.generated.d.ts +1400 -1
- package/package.json +9 -10
- package/parser.worker.js +112 -29
- package/parser.worker.js.map +3 -3
- package/plugins/core-slot.d.ts +1 -1
- package/renderables/ASCIIFont.d.ts +5 -0
- package/renderables/Code.d.ts +25 -2
- package/renderables/Diff.d.ts +3 -1
- package/renderables/EditBufferRenderable.d.ts +30 -1
- package/renderables/EmbeddedTerminal.d.ts +1 -1
- package/renderables/Input.d.ts +6 -3
- package/renderables/LineNumberRenderable.d.ts +4 -0
- package/renderables/Markdown.d.ts +208 -124
- package/renderables/ScrollBox.d.ts +7 -2
- package/renderables/ScrollBoxParts.d.ts +4 -5
- package/renderables/Select.d.ts +2 -2
- package/renderables/TabSelect.d.ts +2 -2
- package/renderables/Text.d.ts +3 -1
- package/renderables/TextBufferRenderable.d.ts +4 -0
- package/renderables/TextTable.d.ts +22 -0
- package/renderables/Textarea.d.ts +2 -1
- package/renderables/__tests__/code-model-harness.d.ts +40 -0
- package/renderables/index.d.ts +1 -3
- package/renderables/markdown-document.d.ts +37 -0
- package/renderables/props.d.ts +10 -0
- package/renderer-theme-mode.d.ts +5 -1
- package/renderer.d.ts +23 -9
- package/runtime-plugin.js +32 -57
- package/runtime-plugin.js.map +1 -1
- package/syntax-style.d.ts +5 -0
- package/testing/mock-tree-sitter-client.d.ts +5 -0
- package/testing/model.d.ts +15 -0
- package/testing.bun.js +8 -31
- package/testing.bun.js.map +4 -4
- package/testing.js +8 -31
- package/testing.js.map +4 -4
- package/tests/shrink-same-check.d.ts +4 -0
- package/tests/yoga-upstream/tools/utils.d.ts +9 -2
- package/text-buffer-view.d.ts +4 -0
- package/text-buffer.d.ts +16 -1
- package/types.d.ts +2 -2
- package/yoga.bun.js +1 -1
- package/yoga.internal.d.ts +1 -0
- package/yoga.js +1 -1
- package/zig.d.ts +107 -6
- package/chunk-bun-83k2gdpc.js.map +0 -70
- package/chunk-bun-dsfc571f.js.map +0 -35
- package/chunk-node-3ssb37vb.js.map +0 -70
- package/chunk-node-5nvhjp1a.js.map +0 -34
- package/lib/debounce.d.ts +0 -42
- package/lib/extmarks-history.d.ts +0 -17
- package/lib/parse.keypress-kitty.d.ts +0 -5
- package/lib/queue.d.ts +0 -15
- package/lib/stdin-parser.d.ts +0 -97
- package/renderables/composition/VRenderable.d.ts +0 -16
- package/renderables/composition/constructs.d.ts +0 -35
- package/renderables/composition/vnode.d.ts +0 -46
- package/renderables/markdown-parser.d.ts +0 -12
|
@@ -1,3 +1,858 @@
|
|
|
1
|
+
export declare const OT_CONTEXT_ABI_VERSION = 2;
|
|
2
|
+
export declare const OT_OK = 0;
|
|
3
|
+
export declare const OT_INVALID_ARGUMENT = -1;
|
|
4
|
+
export declare const OT_UNSUPPORTED_VERSION = -2;
|
|
5
|
+
export declare const OT_OUT_OF_MEMORY = -3;
|
|
6
|
+
export declare const OT_WRONG_THREAD = -4;
|
|
7
|
+
export declare const OT_INTERNAL_ERROR = -5;
|
|
8
|
+
export declare const OT_CONTEXT_BUSY = -6;
|
|
9
|
+
export declare const OT_WRONG_CONTEXT = -7;
|
|
10
|
+
export declare const OT_WRONG_KIND = -8;
|
|
11
|
+
export declare const OT_STALE_HANDLE = -9;
|
|
12
|
+
export declare const OT_WRONG_SESSION = -10;
|
|
13
|
+
export declare const OT_OUTPUT_BACKPRESSURE = -11;
|
|
14
|
+
export declare const OT_SESSION_CLOSED = -12;
|
|
15
|
+
export declare const OT_OUTPUT_BUSY = -13;
|
|
16
|
+
export declare const OT_STALE_OUTPUT = -14;
|
|
17
|
+
export declare const OT_OUTPUT_FAILED = -15;
|
|
18
|
+
export declare const OT_OBJECT_LIMIT = -16;
|
|
19
|
+
export declare const OT_RENDERER_ATTACHED = -17;
|
|
20
|
+
export declare const OT_RENDERER_NOT_ATTACHED = -18;
|
|
21
|
+
export declare const OT_INVALID_PHASE = -19;
|
|
22
|
+
export declare const OT_CONTROL_PACKET_LIMIT = -20;
|
|
23
|
+
export declare const OT_LEASE_LIMIT = -21;
|
|
24
|
+
export declare const OT_LEASE_BYTES_LIMIT = -22;
|
|
25
|
+
export declare const OT_STALE_LEASE = -23;
|
|
26
|
+
export declare const OT_UNSUPPORTED_RESOURCE = -24;
|
|
27
|
+
export declare const OT_STALE_FRAME = -25;
|
|
28
|
+
export declare const OT_LAYOUT_LIMIT = -26;
|
|
29
|
+
export declare const OT_FRAME_BUSY = -27;
|
|
30
|
+
export declare const OT_FRAME_REQUEST_LIMIT = -28;
|
|
31
|
+
export declare const OT_IMAGE_UNSUPPORTED_FORMAT = -40;
|
|
32
|
+
export declare const OT_IMAGE_UNSUPPORTED_COLOR_SPACE = -41;
|
|
33
|
+
export declare const OT_IMAGE_MALFORMED_DATA = -42;
|
|
34
|
+
export declare const OT_IMAGE_DIMENSION_LIMIT = -43;
|
|
35
|
+
export declare const OT_IMAGE_MEMORY_LIMIT = -44;
|
|
36
|
+
export declare const OT_IMAGE_OUTPUT_TOO_SMALL = -45;
|
|
37
|
+
export declare const OT_IMAGE_UNSUPPORTED_FEATURE = -46;
|
|
38
|
+
export declare const OT_IMAGE_BUSY = -47;
|
|
39
|
+
export declare const OT_VIDEO_FAILED = -60;
|
|
40
|
+
export declare const OT_AUDIO_DECODE_FAILED = -61;
|
|
41
|
+
export declare const OT_AUDIO_DEVICE_FAILED = -62;
|
|
42
|
+
export declare const OT_SCENE_ROOT = 0;
|
|
43
|
+
export declare const OT_SCENE_BOX = 1;
|
|
44
|
+
export declare const OT_SCENE_TEXT = 2;
|
|
45
|
+
export declare const OT_SCENE_SLIDER = 3;
|
|
46
|
+
export declare const OT_SCENE_ARROW = 4;
|
|
47
|
+
export declare const OT_SCENE_EDITOR = 5;
|
|
48
|
+
export declare const OT_SCENE_CUSTOM = 6;
|
|
49
|
+
export declare const OT_SCENE_TEXT_VIEW = 7;
|
|
50
|
+
export declare const OT_SCENE_IMAGE = 8;
|
|
51
|
+
export declare const OT_SCENE_VIDEO = 9;
|
|
52
|
+
export declare const OT_SCENE_WRAP_NONE = 0;
|
|
53
|
+
export declare const OT_SCENE_WRAP_CHAR = 1;
|
|
54
|
+
export declare const OT_SCENE_WRAP_WORD = 2;
|
|
55
|
+
export declare const OT_SCENE_ALIGN_LEFT = 0;
|
|
56
|
+
export declare const OT_SCENE_ALIGN_CENTER = 1;
|
|
57
|
+
export declare const OT_SCENE_ALIGN_RIGHT = 2;
|
|
58
|
+
export declare const OT_STYLE_ENUM = 0;
|
|
59
|
+
export declare const OT_STYLE_FLOAT = 1;
|
|
60
|
+
export declare const OT_STYLE_VALUE = 2;
|
|
61
|
+
export declare const OT_STYLE_BORDER = 3;
|
|
62
|
+
export declare const OT_STYLE_DIMENSION = 4;
|
|
63
|
+
export declare const OT_STYLE_BORDER_WIDTH = 0;
|
|
64
|
+
export declare const OT_STYLE_FLAGS_NONE = 0;
|
|
65
|
+
export declare const OT_STYLE_DISABLE_FLEX_SHRINK = 1;
|
|
66
|
+
export declare const OT_STYLE_CONTENT = 2;
|
|
67
|
+
export declare const OT_STYLE_ENUM_DIRECTION = 0;
|
|
68
|
+
export declare const OT_STYLE_ENUM_FLEX_DIRECTION = 1;
|
|
69
|
+
export declare const OT_STYLE_ENUM_JUSTIFY_CONTENT = 2;
|
|
70
|
+
export declare const OT_STYLE_ENUM_ALIGN_CONTENT = 3;
|
|
71
|
+
export declare const OT_STYLE_ENUM_ALIGN_ITEMS = 4;
|
|
72
|
+
export declare const OT_STYLE_ENUM_ALIGN_SELF = 5;
|
|
73
|
+
export declare const OT_STYLE_ENUM_POSITION_TYPE = 6;
|
|
74
|
+
export declare const OT_STYLE_ENUM_FLEX_WRAP = 7;
|
|
75
|
+
export declare const OT_STYLE_ENUM_OVERFLOW = 8;
|
|
76
|
+
export declare const OT_STYLE_ENUM_DISPLAY = 9;
|
|
77
|
+
export declare const OT_STYLE_ENUM_BOX_SIZING = 10;
|
|
78
|
+
export declare const OT_STYLE_ENUM_LAYOUT_MODE = 11;
|
|
79
|
+
export declare const OT_STYLE_FLOAT_FLEX = 0;
|
|
80
|
+
export declare const OT_STYLE_FLOAT_FLEX_GROW = 1;
|
|
81
|
+
export declare const OT_STYLE_FLOAT_FLEX_SHRINK = 2;
|
|
82
|
+
export declare const OT_STYLE_FLOAT_ASPECT_RATIO = 3;
|
|
83
|
+
export declare const OT_STYLE_VALUE_WIDTH = 0;
|
|
84
|
+
export declare const OT_STYLE_VALUE_HEIGHT = 1;
|
|
85
|
+
export declare const OT_STYLE_VALUE_MIN_WIDTH = 2;
|
|
86
|
+
export declare const OT_STYLE_VALUE_MIN_HEIGHT = 3;
|
|
87
|
+
export declare const OT_STYLE_VALUE_MAX_WIDTH = 4;
|
|
88
|
+
export declare const OT_STYLE_VALUE_MAX_HEIGHT = 5;
|
|
89
|
+
export declare const OT_STYLE_VALUE_FLEX_BASIS = 6;
|
|
90
|
+
export declare const OT_STYLE_VALUE_MARGIN = 7;
|
|
91
|
+
export declare const OT_STYLE_VALUE_PADDING = 8;
|
|
92
|
+
export declare const OT_STYLE_VALUE_POSITION = 9;
|
|
93
|
+
export declare const OT_STYLE_VALUE_GAP = 10;
|
|
94
|
+
export declare const OT_DIMENSION_WIDTH = 0;
|
|
95
|
+
export declare const OT_DIMENSION_HEIGHT = 1;
|
|
96
|
+
export declare const OT_UNIT_UNDEFINED = 0;
|
|
97
|
+
export declare const OT_UNIT_POINT = 1;
|
|
98
|
+
export declare const OT_UNIT_PERCENT = 2;
|
|
99
|
+
export declare const OT_UNIT_AUTO = 3;
|
|
100
|
+
export declare const OT_EDGE_NONE = 0;
|
|
101
|
+
export declare const OT_EDGE_LEFT = 0;
|
|
102
|
+
export declare const OT_EDGE_TOP = 1;
|
|
103
|
+
export declare const OT_EDGE_RIGHT = 2;
|
|
104
|
+
export declare const OT_EDGE_BOTTOM = 3;
|
|
105
|
+
export declare const OT_EDGE_START = 4;
|
|
106
|
+
export declare const OT_EDGE_END = 5;
|
|
107
|
+
export declare const OT_EDGE_HORIZONTAL = 6;
|
|
108
|
+
export declare const OT_EDGE_VERTICAL = 7;
|
|
109
|
+
export declare const OT_EDGE_ALL = 8;
|
|
110
|
+
export declare const OT_GUTTER_COLUMN = 0;
|
|
111
|
+
export declare const OT_GUTTER_ROW = 1;
|
|
112
|
+
export declare const OT_GUTTER_ALL = 2;
|
|
113
|
+
export declare const OT_DIRECTION_INHERIT = 0;
|
|
114
|
+
export declare const OT_DIRECTION_LTR = 1;
|
|
115
|
+
export declare const OT_DIRECTION_RTL = 2;
|
|
116
|
+
export declare const OT_FLEX_DIRECTION_COLUMN = 0;
|
|
117
|
+
export declare const OT_FLEX_DIRECTION_COLUMN_REVERSE = 1;
|
|
118
|
+
export declare const OT_FLEX_DIRECTION_ROW = 2;
|
|
119
|
+
export declare const OT_FLEX_DIRECTION_ROW_REVERSE = 3;
|
|
120
|
+
export declare const OT_JUSTIFY_FLEX_START = 0;
|
|
121
|
+
export declare const OT_JUSTIFY_CENTER = 1;
|
|
122
|
+
export declare const OT_JUSTIFY_FLEX_END = 2;
|
|
123
|
+
export declare const OT_JUSTIFY_SPACE_BETWEEN = 3;
|
|
124
|
+
export declare const OT_JUSTIFY_SPACE_AROUND = 4;
|
|
125
|
+
export declare const OT_JUSTIFY_SPACE_EVENLY = 5;
|
|
126
|
+
export declare const OT_ALIGN_AUTO = 0;
|
|
127
|
+
export declare const OT_ALIGN_FLEX_START = 1;
|
|
128
|
+
export declare const OT_ALIGN_CENTER = 2;
|
|
129
|
+
export declare const OT_ALIGN_FLEX_END = 3;
|
|
130
|
+
export declare const OT_ALIGN_STRETCH = 4;
|
|
131
|
+
export declare const OT_ALIGN_BASELINE = 5;
|
|
132
|
+
export declare const OT_ALIGN_SPACE_BETWEEN = 6;
|
|
133
|
+
export declare const OT_ALIGN_SPACE_AROUND = 7;
|
|
134
|
+
export declare const OT_ALIGN_SPACE_EVENLY = 8;
|
|
135
|
+
export declare const OT_POSITION_STATIC = 0;
|
|
136
|
+
export declare const OT_POSITION_RELATIVE = 1;
|
|
137
|
+
export declare const OT_POSITION_ABSOLUTE = 2;
|
|
138
|
+
export declare const OT_FLEX_WRAP_NONE = 0;
|
|
139
|
+
export declare const OT_FLEX_WRAP_WRAP = 1;
|
|
140
|
+
export declare const OT_FLEX_WRAP_REVERSE = 2;
|
|
141
|
+
export declare const OT_OVERFLOW_VISIBLE = 0;
|
|
142
|
+
export declare const OT_OVERFLOW_HIDDEN = 1;
|
|
143
|
+
export declare const OT_OVERFLOW_SCROLL = 2;
|
|
144
|
+
export declare const OT_DISPLAY_FLEX = 0;
|
|
145
|
+
export declare const OT_DISPLAY_NONE = 1;
|
|
146
|
+
export declare const OT_BOX_SIZING_BORDER_BOX = 0;
|
|
147
|
+
export declare const OT_BOX_SIZING_CONTENT_BOX = 1;
|
|
148
|
+
export declare const OT_LAYOUT_MODE_FLEX = 0;
|
|
149
|
+
export declare const OT_LAYOUT_MODE_LIST = 1;
|
|
150
|
+
export declare const OT_DISPLAY_CONTENTS = 2;
|
|
151
|
+
export declare const OT_YOGA_ERRATA_NONE = 0;
|
|
152
|
+
export declare const OT_YOGA_ERRATA_STRETCH_FLEX_BASIS = 1;
|
|
153
|
+
export declare const OT_YOGA_ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING = 2;
|
|
154
|
+
export declare const OT_YOGA_ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE = 4;
|
|
155
|
+
export declare const OT_YOGA_ERRATA_ALL = 2147483647;
|
|
156
|
+
export declare const OT_YOGA_ERRATA_CLASSIC = 2147483646;
|
|
157
|
+
export declare const OT_YOGA_EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS = 0;
|
|
158
|
+
export declare const OT_YOGA_LOG_LEVEL_ERROR = 0;
|
|
159
|
+
export declare const OT_YOGA_LOG_LEVEL_WARN = 1;
|
|
160
|
+
export declare const OT_YOGA_LOG_LEVEL_INFO = 2;
|
|
161
|
+
export declare const OT_YOGA_LOG_LEVEL_DEBUG = 3;
|
|
162
|
+
export declare const OT_YOGA_LOG_LEVEL_VERBOSE = 4;
|
|
163
|
+
export declare const OT_YOGA_LOG_LEVEL_FATAL = 5;
|
|
164
|
+
export declare const OT_YOGA_NODE_TYPE_DEFAULT = 0;
|
|
165
|
+
export declare const OT_YOGA_NODE_TYPE_TEXT = 1;
|
|
166
|
+
export declare const OT_STYLE_ENUM_DIRECTION_MAX = 2;
|
|
167
|
+
export declare const OT_STYLE_ENUM_FLEX_DIRECTION_MAX = 3;
|
|
168
|
+
export declare const OT_STYLE_ENUM_JUSTIFY_CONTENT_MAX = 5;
|
|
169
|
+
export declare const OT_STYLE_ENUM_ALIGN_CONTENT_MAX = 8;
|
|
170
|
+
export declare const OT_STYLE_ENUM_ALIGN_ITEMS_MAX = 8;
|
|
171
|
+
export declare const OT_STYLE_ENUM_ALIGN_SELF_MAX = 8;
|
|
172
|
+
export declare const OT_STYLE_ENUM_POSITION_TYPE_MAX = 2;
|
|
173
|
+
export declare const OT_STYLE_ENUM_FLEX_WRAP_MAX = 2;
|
|
174
|
+
export declare const OT_STYLE_ENUM_OVERFLOW_MAX = 2;
|
|
175
|
+
export declare const OT_STYLE_ENUM_DISPLAY_MAX = 1;
|
|
176
|
+
export declare const OT_STYLE_ENUM_BOX_SIZING_MAX = 1;
|
|
177
|
+
export declare const OT_STYLE_ENUM_LAYOUT_MODE_MAX = 1;
|
|
178
|
+
export declare const OT_MEASURE_UNDEFINED = 0;
|
|
179
|
+
export declare const OT_MEASURE_EXACTLY = 1;
|
|
180
|
+
export declare const OT_MEASURE_AT_MOST = 2;
|
|
181
|
+
export declare const OT_LAYOUT_PUBLIC = 0;
|
|
182
|
+
export declare const OT_LAYOUT_YOGA = 1;
|
|
183
|
+
export declare const OT_LAYOUT_PAINT = 2;
|
|
184
|
+
export declare const OT_LAYOUT_CONTENT = 3;
|
|
185
|
+
export declare const OT_BORDER_NONE = 0;
|
|
186
|
+
export declare const OT_BORDER_LEFT = 1;
|
|
187
|
+
export declare const OT_BORDER_BOTTOM = 2;
|
|
188
|
+
export declare const OT_BORDER_RIGHT = 4;
|
|
189
|
+
export declare const OT_BORDER_TOP = 8;
|
|
190
|
+
export declare const OT_BORDER_ALL = 15;
|
|
191
|
+
export declare const OT_BORDER_SINGLE = 0;
|
|
192
|
+
export declare const OT_BORDER_DOUBLE = 1;
|
|
193
|
+
export declare const OT_BORDER_ROUNDED = 2;
|
|
194
|
+
export declare const OT_BORDER_HEAVY = 3;
|
|
195
|
+
export declare const OT_COLOR_RGB = 0;
|
|
196
|
+
export declare const OT_COLOR_INDEXED = 1;
|
|
197
|
+
export declare const OT_COLOR_DEFAULT = 2;
|
|
198
|
+
export declare const OT_COLOR_CHANNEL_MASK = 255;
|
|
199
|
+
export declare const OT_COLOR_META_SHIFT = 8;
|
|
200
|
+
export declare const OT_COLOR_ANSI_0 = 0;
|
|
201
|
+
export declare const OT_COLOR_ANSI_1 = 8388608;
|
|
202
|
+
export declare const OT_COLOR_ANSI_2 = 32768;
|
|
203
|
+
export declare const OT_COLOR_ANSI_3 = 8421376;
|
|
204
|
+
export declare const OT_COLOR_ANSI_4 = 128;
|
|
205
|
+
export declare const OT_COLOR_ANSI_5 = 8388736;
|
|
206
|
+
export declare const OT_COLOR_ANSI_6 = 32896;
|
|
207
|
+
export declare const OT_COLOR_ANSI_7 = 12632256;
|
|
208
|
+
export declare const OT_COLOR_ANSI_8 = 8421504;
|
|
209
|
+
export declare const OT_COLOR_ANSI_9 = 16711680;
|
|
210
|
+
export declare const OT_COLOR_ANSI_10 = 65280;
|
|
211
|
+
export declare const OT_COLOR_ANSI_11 = 16776960;
|
|
212
|
+
export declare const OT_COLOR_ANSI_12 = 255;
|
|
213
|
+
export declare const OT_COLOR_ANSI_13 = 16711935;
|
|
214
|
+
export declare const OT_COLOR_ANSI_14 = 65535;
|
|
215
|
+
export declare const OT_COLOR_ANSI_15 = 16777215;
|
|
216
|
+
export declare const OT_COLOR_CUBE_BASE = 55;
|
|
217
|
+
export declare const OT_COLOR_CUBE_STEP = 40;
|
|
218
|
+
export declare const OT_COLOR_GRAY_BASE = 8;
|
|
219
|
+
export declare const OT_COLOR_GRAY_STEP = 10;
|
|
220
|
+
export declare const OT_ATTR_BOLD = 1;
|
|
221
|
+
export declare const OT_ATTR_DIM = 2;
|
|
222
|
+
export declare const OT_ATTR_ITALIC = 4;
|
|
223
|
+
export declare const OT_ATTR_UNDERLINE = 8;
|
|
224
|
+
export declare const OT_ATTR_BLINK = 16;
|
|
225
|
+
export declare const OT_ATTR_INVERSE = 32;
|
|
226
|
+
export declare const OT_ATTR_HIDDEN = 64;
|
|
227
|
+
export declare const OT_ATTR_STRIKETHROUGH = 128;
|
|
228
|
+
export declare const OT_ATTR_BASE_MASK = 255;
|
|
229
|
+
export declare const OT_ATTR_LINK_SHIFT = 8;
|
|
230
|
+
export declare const OT_ATTR_LINK_MASK = 16777215;
|
|
231
|
+
export declare const OT_SCENE_TEXT_SELECTION_RESET = 0;
|
|
232
|
+
export declare const OT_SCENE_TEXT_SELECTION_SET = 1;
|
|
233
|
+
export declare const OT_SCENE_TEXT_SELECTION_UPDATE = 2;
|
|
234
|
+
export declare const OT_SCENE_TEXT_SELECTION_COLORS = 3;
|
|
235
|
+
export declare const OT_SCENE_TEXT_SELECTION_CELL = 0;
|
|
236
|
+
export declare const OT_SCENE_TEXT_SELECTION_WORD = 1;
|
|
237
|
+
export declare const OT_SCENE_TEXT_SELECTION_LINE = 2;
|
|
238
|
+
export declare const OT_SCENE_TEXT_SELECTION_BACKGROUND = 1;
|
|
239
|
+
export declare const OT_SCENE_TEXT_SELECTION_FOREGROUND = 2;
|
|
240
|
+
export declare const OT_SCENE_TEXT_FOREGROUND = 1;
|
|
241
|
+
export declare const OT_SCENE_TEXT_BACKGROUND = 2;
|
|
242
|
+
export declare const OT_SCENE_TEXT_LINK = 4;
|
|
243
|
+
export declare const OT_SCENE_MUTATIONS_MAX = 4096;
|
|
244
|
+
export declare const OT_SCENE_FULL_PATH_FORCED = 1;
|
|
245
|
+
export declare const OT_SCENE_FULL_PATH_SCREEN = 2;
|
|
246
|
+
export declare const OT_SCENE_FULL_PATH_IMAGES = 4;
|
|
247
|
+
export declare const OT_SCENE_FULL_PATH_TAINTED = 8;
|
|
248
|
+
export declare const OT_SCENE_FULL_PATH_UNRETAINED = 16;
|
|
249
|
+
export declare const OT_SCENE_FULL_PATH_OPTIONS = 32;
|
|
250
|
+
export declare const OT_SCENE_FULL_PATH_NON_LOCAL = 64;
|
|
251
|
+
export declare const OT_CURSOR_STYLE_BLOCK = 0;
|
|
252
|
+
export declare const OT_CURSOR_STYLE_LINE = 1;
|
|
253
|
+
export declare const OT_CURSOR_STYLE_UNDERLINE = 2;
|
|
254
|
+
export declare const OT_CURSOR_STYLE_DEFAULT = 3;
|
|
255
|
+
export declare const OT_SCENE_HOOK_UPDATE = 1;
|
|
256
|
+
export declare const OT_SCENE_HOOK_RESIZE = 2;
|
|
257
|
+
export declare const OT_SCENE_HOOK_LAYOUT_CHANGED = 4;
|
|
258
|
+
export declare const OT_SCENE_HOOK_RENDER_BEFORE = 8;
|
|
259
|
+
export declare const OT_SCENE_HOOK_RENDER_AFTER = 16;
|
|
260
|
+
export declare const OT_SCENE_HOOK_RENDER_SELF = 32;
|
|
261
|
+
export declare const OT_SCENE_HOOK_IDLE_UPDATE = 64;
|
|
262
|
+
export declare const OT_SCENE_HOOK_SCROLL = 128;
|
|
263
|
+
export declare const OT_SCENE_FRAME_DONE = 0;
|
|
264
|
+
export declare const OT_SCENE_FRAME_UPDATE = 1;
|
|
265
|
+
export declare const OT_SCENE_FRAME_RESIZE = 2;
|
|
266
|
+
export declare const OT_SCENE_FRAME_LAYOUT_CHANGED = 3;
|
|
267
|
+
export declare const OT_SCENE_FRAME_RECORD = 4;
|
|
268
|
+
export declare const OT_SCENE_FRAME_SCROLL = 5;
|
|
269
|
+
export declare const OT_SCENE_GEOMETRY_PAINT = 1;
|
|
270
|
+
export declare const OT_SCENE_GEOMETRY_PUBLIC = 2;
|
|
271
|
+
export declare const OT_SCENE_PROPERTY_Z_INDEX = 1;
|
|
272
|
+
export declare const OT_SCENE_PROPERTY_OPACITY = 2;
|
|
273
|
+
export declare const OT_SCENE_PROPERTY_TRANSLATE_X = 4;
|
|
274
|
+
export declare const OT_SCENE_PROPERTY_TRANSLATE_Y = 8;
|
|
275
|
+
export declare const OT_SCENE_PROPERTY_BORDER = 16;
|
|
276
|
+
export declare const OT_SCENE_PROPERTY_SHOULD_FILL = 32;
|
|
277
|
+
export declare const OT_SCENE_PROPERTY_BACKGROUND = 64;
|
|
278
|
+
export declare const OT_SCENE_PROPERTY_BORDER_COLOR = 128;
|
|
279
|
+
export declare const OT_SCENE_PROPERTY_BORDER_STYLE = 256;
|
|
280
|
+
export declare const OT_SCENE_PROPERTY_FOCUSABLE = 512;
|
|
281
|
+
export declare const OT_SCENE_PROPERTY_FOCUSED_BORDER_COLOR = 1024;
|
|
282
|
+
export declare const OT_SCENE_PROPERTY_STYLE = 2048;
|
|
283
|
+
export declare const OT_SCENE_PROPERTY_RESET_BORDER_CHARACTERS = 4096;
|
|
284
|
+
export declare const OT_SCENE_PROPERTY_RECORD_MAX = 88;
|
|
285
|
+
export declare const OT_SCENE_PROPERTY_BYTES_MAX = 360448;
|
|
286
|
+
export declare const OT_SCENE_SCROLL_X = 1;
|
|
287
|
+
export declare const OT_SCENE_SCROLL_Y = 2;
|
|
288
|
+
export declare const OT_SCENE_SCROLL_FOLLOW_NONE = 0;
|
|
289
|
+
export declare const OT_SCENE_SCROLL_FOLLOW_TOP = 1;
|
|
290
|
+
export declare const OT_SCENE_SCROLL_FOLLOW_BOTTOM = 2;
|
|
291
|
+
export declare const OT_SCENE_SCROLL_FOLLOW_LEFT = 3;
|
|
292
|
+
export declare const OT_SCENE_SCROLL_FOLLOW_RIGHT = 4;
|
|
293
|
+
export declare const OT_SCENE_SCROLL_FILL_WRAPPER = 1;
|
|
294
|
+
export declare const OT_SCENE_SCROLL_FILL_VIEWPORT = 2;
|
|
295
|
+
export declare const OT_SCENE_SCROLL_FILL_CONTENT = 4;
|
|
296
|
+
export declare const OT_SCENE_SCROLL_BAR_AUTO = 0;
|
|
297
|
+
export declare const OT_SCENE_SCROLL_BAR_ALWAYS = 1;
|
|
298
|
+
export declare const OT_SCENE_SCROLL_BAR_NEVER = 2;
|
|
299
|
+
export declare const OT_SCENE_SCROLL_BAR_INSET = 0;
|
|
300
|
+
export declare const OT_SCENE_SCROLL_BAR_OVERLAY = 1;
|
|
301
|
+
export declare const OT_SCENE_SCROLL_RELATIVE_X = 1;
|
|
302
|
+
export declare const OT_SCENE_SCROLL_RELATIVE_Y = 2;
|
|
303
|
+
export declare const OT_SCENE_SCROLL_REAPPLY = 4;
|
|
304
|
+
export declare const OT_SCENE_SCROLL_REQUEST_INTO_VIEW = 0;
|
|
305
|
+
export declare const OT_SCENE_SCROLL_REQUEST_ANCHOR = 1;
|
|
306
|
+
export declare const OT_SCENE_SCROLL_REQUEST_LAYOUT = 2;
|
|
307
|
+
export declare const OT_SCENE_SCROLL_ALIGN_NEAREST = 0;
|
|
308
|
+
export declare const OT_SCENE_SCROLL_ALIGN_START = 1;
|
|
309
|
+
export declare const OT_SCENE_SCROLL_ALIGN_END = 2;
|
|
310
|
+
export declare const OT_SCENE_SCROLL_PADDING_MAX = 65535;
|
|
311
|
+
export declare const OT_SCENE_SCROLL_CHANGED_OFFSET_X = 1;
|
|
312
|
+
export declare const OT_SCENE_SCROLL_CHANGED_OFFSET_Y = 2;
|
|
313
|
+
export declare const OT_SCENE_SCROLL_CHANGED_CONTENT = 4;
|
|
314
|
+
export declare const OT_SCENE_SCROLL_CHANGED_VIEWPORT = 8;
|
|
315
|
+
export declare const OT_SCENE_SCROLL_CHANGED_LAYOUT = 16;
|
|
316
|
+
export declare const OT_SCENE_DEBUG_FULL_FRAME = 1;
|
|
317
|
+
export declare const OT_SCENE_DEBUG_VERIFY = 2;
|
|
318
|
+
export declare const OT_SESSION_OPEN = 0;
|
|
319
|
+
export declare const OT_SESSION_CLOSING = 1;
|
|
320
|
+
export declare const OT_SESSION_CLOSED_STATE = 2;
|
|
321
|
+
export declare const OT_SESSION_FAILED = 3;
|
|
322
|
+
export declare const OT_SESSION_CANCELLED_STATE = 4;
|
|
323
|
+
export declare const OT_SESSION_REMOTE_AUTO = 0;
|
|
324
|
+
export declare const OT_SESSION_REMOTE_LOCAL = 1;
|
|
325
|
+
export declare const OT_SESSION_REMOTE_REMOTE = 2;
|
|
326
|
+
export declare const OT_SESSION_ENV_ENTRIES_MAX = 256;
|
|
327
|
+
export declare const OT_SESSION_ENV_BYTES_MAX = 65536;
|
|
328
|
+
export declare const OT_RENDER_PRESENTED = 0;
|
|
329
|
+
export declare const OT_RENDER_PENDING = 1;
|
|
330
|
+
export declare const OT_RENDER_SKIPPED = 2;
|
|
331
|
+
export declare const OT_RENDER_FAILED = 3;
|
|
332
|
+
export declare const OT_SPLIT_SNAPSHOTS_MAX = 64;
|
|
333
|
+
export declare const OT_SESSION_BUFFER_CURRENT = 0;
|
|
334
|
+
export declare const OT_SESSION_BUFFER_NEXT = 1;
|
|
335
|
+
export declare const OT_WIDTH_METHOD_WCWIDTH = 0;
|
|
336
|
+
export declare const OT_WIDTH_METHOD_UNICODE = 1;
|
|
337
|
+
export declare const OT_WIDTH_METHOD_NO_ZWJ = 2;
|
|
338
|
+
export declare const OT_WIDTH_METHOD_UNICODE_WIDE = 3;
|
|
339
|
+
export declare const OT_BUFFER_RESPECT_ALPHA = 1;
|
|
340
|
+
export declare const OT_EMBEDDED_TERMINAL_CURSOR_BAR = 0;
|
|
341
|
+
export declare const OT_EMBEDDED_TERMINAL_CURSOR_BLOCK = 1;
|
|
342
|
+
export declare const OT_EMBEDDED_TERMINAL_CURSOR_UNDERLINE = 2;
|
|
343
|
+
export declare const OT_EMBEDDED_TERMINAL_CURSOR_BLOCK_HOLLOW = 3;
|
|
344
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_SHIFT = 1;
|
|
345
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_CTRL = 2;
|
|
346
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_ALT = 4;
|
|
347
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_SUPER = 8;
|
|
348
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_CAPS_LOCK = 16;
|
|
349
|
+
export declare const OT_EMBEDDED_TERMINAL_MOD_NUM_LOCK = 32;
|
|
350
|
+
export declare const OT_EMBEDDED_TERMINAL_KEY_RELEASE = 0;
|
|
351
|
+
export declare const OT_EMBEDDED_TERMINAL_KEY_PRESS = 1;
|
|
352
|
+
export declare const OT_EMBEDDED_TERMINAL_KEY_REPEAT = 2;
|
|
353
|
+
export declare const OT_EMBEDDED_TERMINAL_MOUSE_PRESS = 0;
|
|
354
|
+
export declare const OT_EMBEDDED_TERMINAL_MOUSE_RELEASE = 1;
|
|
355
|
+
export declare const OT_EMBEDDED_TERMINAL_MOUSE_MOTION = 2;
|
|
356
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_NONE = -1;
|
|
357
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_UNKNOWN = 0;
|
|
358
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_LEFT = 1;
|
|
359
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_RIGHT = 2;
|
|
360
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_MIDDLE = 3;
|
|
361
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_FOUR = 4;
|
|
362
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_FIVE = 5;
|
|
363
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_SIX = 6;
|
|
364
|
+
export declare const OT_EMBEDDED_TERMINAL_BUTTON_SEVEN = 7;
|
|
365
|
+
export declare const OT_EMBEDDED_TERMINAL_INPUT_BYTES_MAX = 1048576;
|
|
366
|
+
export declare const OT_EMBEDDED_TERMINAL_INVALIDATE = 0;
|
|
367
|
+
export declare const OT_EMBEDDED_TERMINAL_SCROLL = 1;
|
|
368
|
+
export declare const OT_EMBEDDED_TERMINAL_CLEAR_SELECTION = 2;
|
|
369
|
+
export declare const OT_EMBEDDED_TERMINAL_SET_TRANSPARENT_BACKGROUND = 3;
|
|
370
|
+
export declare const OT_EMBEDDED_TERMINAL_RESPONSE_BYTES_MAX = 1048576;
|
|
371
|
+
export declare const OT_EDIT_BUFFER_FOLLOW_SESSION_WIDTH = 1;
|
|
372
|
+
export declare const OT_EDIT_CURSOR_CHANGED = 1;
|
|
373
|
+
export declare const OT_EDIT_CONTENT_CHANGED = 2;
|
|
374
|
+
export declare const OT_EDIT_HISTORY_CURSOR_CHANGED = 4;
|
|
375
|
+
export declare const OT_MOUSE_POINTER_AUTO = 0;
|
|
376
|
+
export declare const OT_MOUSE_POINTER_DEFAULT = 1;
|
|
377
|
+
export declare const OT_MOUSE_POINTER_NONE = 2;
|
|
378
|
+
export declare const OT_MOUSE_POINTER_CONTEXT_MENU = 3;
|
|
379
|
+
export declare const OT_MOUSE_POINTER_HELP = 4;
|
|
380
|
+
export declare const OT_MOUSE_POINTER_POINTER = 5;
|
|
381
|
+
export declare const OT_MOUSE_POINTER_PROGRESS = 6;
|
|
382
|
+
export declare const OT_MOUSE_POINTER_WAIT = 7;
|
|
383
|
+
export declare const OT_MOUSE_POINTER_CELL = 8;
|
|
384
|
+
export declare const OT_MOUSE_POINTER_CROSSHAIR = 9;
|
|
385
|
+
export declare const OT_MOUSE_POINTER_TEXT = 10;
|
|
386
|
+
export declare const OT_MOUSE_POINTER_VERTICAL_TEXT = 11;
|
|
387
|
+
export declare const OT_MOUSE_POINTER_ALIAS = 12;
|
|
388
|
+
export declare const OT_MOUSE_POINTER_COPY = 13;
|
|
389
|
+
export declare const OT_MOUSE_POINTER_MOVE = 14;
|
|
390
|
+
export declare const OT_MOUSE_POINTER_NO_DROP = 15;
|
|
391
|
+
export declare const OT_MOUSE_POINTER_NOT_ALLOWED = 16;
|
|
392
|
+
export declare const OT_MOUSE_POINTER_GRAB = 17;
|
|
393
|
+
export declare const OT_MOUSE_POINTER_GRABBING = 18;
|
|
394
|
+
export declare const OT_MOUSE_POINTER_ALL_SCROLL = 19;
|
|
395
|
+
export declare const OT_MOUSE_POINTER_COL_RESIZE = 20;
|
|
396
|
+
export declare const OT_MOUSE_POINTER_ROW_RESIZE = 21;
|
|
397
|
+
export declare const OT_MOUSE_POINTER_N_RESIZE = 22;
|
|
398
|
+
export declare const OT_MOUSE_POINTER_E_RESIZE = 23;
|
|
399
|
+
export declare const OT_MOUSE_POINTER_S_RESIZE = 24;
|
|
400
|
+
export declare const OT_MOUSE_POINTER_W_RESIZE = 25;
|
|
401
|
+
export declare const OT_MOUSE_POINTER_NE_RESIZE = 26;
|
|
402
|
+
export declare const OT_MOUSE_POINTER_NW_RESIZE = 27;
|
|
403
|
+
export declare const OT_MOUSE_POINTER_SE_RESIZE = 28;
|
|
404
|
+
export declare const OT_MOUSE_POINTER_SW_RESIZE = 29;
|
|
405
|
+
export declare const OT_MOUSE_POINTER_EW_RESIZE = 30;
|
|
406
|
+
export declare const OT_MOUSE_POINTER_NS_RESIZE = 31;
|
|
407
|
+
export declare const OT_MOUSE_POINTER_NESW_RESIZE = 32;
|
|
408
|
+
export declare const OT_MOUSE_POINTER_NWSE_RESIZE = 33;
|
|
409
|
+
export declare const OT_MOUSE_POINTER_ZOOM_IN = 34;
|
|
410
|
+
export declare const OT_MOUSE_POINTER_ZOOM_OUT = 35;
|
|
411
|
+
export declare const OT_MOUSE_POINTER_MAX = 35;
|
|
412
|
+
export declare const OT_MOUSE_POINTER_UNCHANGED = 4294967295;
|
|
413
|
+
export declare const OT_EDIT_DELETE_FORWARD = 0;
|
|
414
|
+
export declare const OT_EDIT_BACKSPACE = 1;
|
|
415
|
+
export declare const OT_EDIT_NEW_LINE = 2;
|
|
416
|
+
export declare const OT_EDIT_DELETE_LINE = 3;
|
|
417
|
+
export declare const OT_EDIT_MOVE_LEFT = 4;
|
|
418
|
+
export declare const OT_EDIT_MOVE_RIGHT = 5;
|
|
419
|
+
export declare const OT_EDIT_MOVE_UP = 6;
|
|
420
|
+
export declare const OT_EDIT_MOVE_DOWN = 7;
|
|
421
|
+
export declare const OT_EDIT_GOTO_LINE = 8;
|
|
422
|
+
export declare const OT_EDIT_CURSOR_OFFSET = 9;
|
|
423
|
+
export declare const OT_EDIT_CLEAR = 10;
|
|
424
|
+
export declare const OT_EDIT_CLEAR_HISTORY = 11;
|
|
425
|
+
export declare const OT_EDIT_DEBUG_ROPE = 12;
|
|
426
|
+
export declare const OT_EDIT_CURSOR_OFFSET_ATOMIC = 13;
|
|
427
|
+
export declare const OT_EDIT_KEEP_OUTSIDE = 14;
|
|
428
|
+
export declare const OT_EDIT_ATOMIC = 1;
|
|
429
|
+
export declare const OT_EDIT_POSITION_CURSOR = 0;
|
|
430
|
+
export declare const OT_EDIT_POSITION_NEXT_WORD = 1;
|
|
431
|
+
export declare const OT_EDIT_POSITION_PREV_WORD = 2;
|
|
432
|
+
export declare const OT_EDIT_POSITION_EOL = 3;
|
|
433
|
+
export declare const OT_EDIT_POSITION_OFFSET = 4;
|
|
434
|
+
export declare const OT_EDIT_POSITION_COORDS = 5;
|
|
435
|
+
export declare const OT_EDIT_POSITION_LINE_START = 6;
|
|
436
|
+
export declare const OT_EDIT_POSITION_END = 7;
|
|
437
|
+
export declare const OT_EDIT_POSITION_PREV_CHAR = 8;
|
|
438
|
+
export declare const OT_EDIT_BYTE_TO_CELL = 0;
|
|
439
|
+
export declare const OT_EDIT_CELL_TO_BYTE = 1;
|
|
440
|
+
export declare const OT_EDIT_UTF16_TO_CELL = 2;
|
|
441
|
+
export declare const OT_EDIT_CELL_TO_UTF16 = 3;
|
|
442
|
+
export declare const OT_EDITOR_STYLE_FOREGROUND = 1;
|
|
443
|
+
export declare const OT_EDITOR_STYLE_BACKGROUND = 2;
|
|
444
|
+
export declare const OT_EDITOR_STYLE_ATTRIBUTES = 4;
|
|
445
|
+
export declare const OT_EDITOR_STYLE_ATTRIBUTE_MASK = 8;
|
|
446
|
+
export declare const OT_EDIT_HIGHLIGHT_ADD_LINE = 0;
|
|
447
|
+
export declare const OT_EDIT_HIGHLIGHT_ADD_RANGE = 1;
|
|
448
|
+
export declare const OT_EDIT_HIGHLIGHT_REMOVE_REF = 2;
|
|
449
|
+
export declare const OT_EDIT_HIGHLIGHT_CLEAR_LINE = 3;
|
|
450
|
+
export declare const OT_EDIT_HIGHLIGHT_CLEAR_ALL = 4;
|
|
451
|
+
export declare const OT_STYLE_RUN_FLAG = 2147483648;
|
|
452
|
+
export declare const OT_GROUP_SET_NAME_COUNT_MAX = 16;
|
|
453
|
+
export declare const OT_GROUP_SET_NAME_BYTE_COUNT_MAX = 64;
|
|
454
|
+
export declare const OT_EDIT_MARK_ADD = 0;
|
|
455
|
+
export declare const OT_EDIT_MARK_REMOVE = 1;
|
|
456
|
+
export declare const OT_EDIT_MARK_CLEAR = 2;
|
|
457
|
+
export declare const OT_EDIT_MARK_ATOMIC = 1;
|
|
458
|
+
export declare const OT_EDIT_MARK_STYLE_VALUE = 2;
|
|
459
|
+
export declare const OT_EDIT_MARK_ANY_KIND = 4294967295;
|
|
460
|
+
export declare const OT_MD_CONCEAL = 1;
|
|
461
|
+
export declare const OT_MD_HYPERLINKS = 2;
|
|
462
|
+
export declare const OT_MD_MATH = 4;
|
|
463
|
+
export declare const OT_MD_HOOK = 8;
|
|
464
|
+
export declare const OT_MD_HOOK_FILTER_BYTE_COUNT_MAX = 256;
|
|
465
|
+
export declare const OT_MD_PARAGRAPH = 0;
|
|
466
|
+
export declare const OT_MD_HEADING = 1;
|
|
467
|
+
export declare const OT_MD_CODE = 2;
|
|
468
|
+
export declare const OT_MD_HTML = 3;
|
|
469
|
+
export declare const OT_MD_RULE = 4;
|
|
470
|
+
export declare const OT_MD_TABLE = 5;
|
|
471
|
+
export declare const OT_MD_TABLE_ROW = 6;
|
|
472
|
+
export declare const OT_MD_TABLE_CELL = 7;
|
|
473
|
+
export declare const OT_MD_QUOTE = 8;
|
|
474
|
+
export declare const OT_MD_LIST = 9;
|
|
475
|
+
export declare const OT_MD_ITEM = 10;
|
|
476
|
+
export declare const OT_MD_BLOCK_CLOSED = 1;
|
|
477
|
+
export declare const OT_MD_BLOCK_SETEXT = 2;
|
|
478
|
+
export declare const OT_MD_BLOCK_ORDERED = 4;
|
|
479
|
+
export declare const OT_MD_BLOCK_TIGHT = 8;
|
|
480
|
+
export declare const OT_MD_BLOCK_TASK = 16;
|
|
481
|
+
export declare const OT_MD_BLOCK_CHECKED = 32;
|
|
482
|
+
export declare const OT_MD_BLOCK_BLANK_AFTER = 64;
|
|
483
|
+
export declare const OT_MD_BLOCK_FENCED = 128;
|
|
484
|
+
export declare const OT_MD_BLOCK_HOOKED = 256;
|
|
485
|
+
export declare const OT_MD_BLOCK_MATH = 512;
|
|
486
|
+
export declare const OT_MD_BLOCK_HEADER = 1024;
|
|
487
|
+
export declare const OT_MD_BLOCK_OPEN = 2048;
|
|
488
|
+
export declare const OT_MD_BLOCK_ALIGN_LEFT = 4096;
|
|
489
|
+
export declare const OT_MD_BLOCK_ALIGN_RIGHT = 8192;
|
|
490
|
+
export declare const OT_MD_SPAN_CODE = 1;
|
|
491
|
+
export declare const OT_MD_SPAN_MATH = 2;
|
|
492
|
+
export declare const OT_EDITOR_MOVE_UP = 0;
|
|
493
|
+
export declare const OT_EDITOR_MOVE_DOWN = 1;
|
|
494
|
+
export declare const OT_EDITOR_GOTO_LINE_END = 2;
|
|
495
|
+
export declare const OT_EDITOR_DELETE_SELECTION = 3;
|
|
496
|
+
export declare const OT_EDITOR_CURSOR_OFFSET = 4;
|
|
497
|
+
export declare const OT_EDITOR_WRAP_MODE = 5;
|
|
498
|
+
export declare const OT_EDITOR_TAB_INDICATOR = 6;
|
|
499
|
+
export declare const OT_EDITOR_SELECT_SET = 0;
|
|
500
|
+
export declare const OT_EDITOR_SELECT_UPDATE = 1;
|
|
501
|
+
export declare const OT_EDITOR_SELECT_RESET = 2;
|
|
502
|
+
export declare const OT_EDITOR_SELECT_LOCAL = 3;
|
|
503
|
+
export declare const OT_EDITOR_SELECT_LOCAL_UPDATE = 4;
|
|
504
|
+
export declare const OT_EDITOR_SELECT_LOCAL_RESET = 5;
|
|
505
|
+
export declare const OT_EDITOR_SELECT_CELL = 6;
|
|
506
|
+
export declare const OT_EDITOR_SELECT_OCCUPANCY = 7;
|
|
507
|
+
export declare const OT_EDITOR_SELECT_INCLUSIVE = 8;
|
|
508
|
+
export declare const OT_EDITOR_SELECT_COLORS = 9;
|
|
509
|
+
export declare const OT_SELECT_DOCUMENT_SET = 0;
|
|
510
|
+
export declare const OT_SELECT_DOCUMENT_UPDATE = 1;
|
|
511
|
+
export declare const OT_SELECT_DOCUMENT_RESET = 2;
|
|
512
|
+
export declare const OT_SELECT_VIEWPORT_SET = 3;
|
|
513
|
+
export declare const OT_SELECT_VIEWPORT_UPDATE = 4;
|
|
514
|
+
export declare const OT_SELECT_VIEWPORT_RESET = 5;
|
|
515
|
+
export declare const OT_SELECTION_CELL = 0;
|
|
516
|
+
export declare const OT_SELECTION_WORD = 1;
|
|
517
|
+
export declare const OT_SELECTION_LINE = 2;
|
|
518
|
+
export declare const OT_SELECTION_OCCUPANCY_CELL = 0;
|
|
519
|
+
export declare const OT_SELECTION_OCCUPANCY_BOUNDARY = 1;
|
|
520
|
+
export declare const OT_EDITOR_POSITION_CURSOR = 0;
|
|
521
|
+
export declare const OT_EDITOR_POSITION_NEXT_WORD = 1;
|
|
522
|
+
export declare const OT_EDITOR_POSITION_PREV_WORD = 2;
|
|
523
|
+
export declare const OT_EDITOR_POSITION_EOL = 3;
|
|
524
|
+
export declare const OT_EDITOR_POSITION_VISUAL_SOL = 4;
|
|
525
|
+
export declare const OT_EDITOR_POSITION_VISUAL_EOL = 5;
|
|
526
|
+
export declare const OT_IMAGE_FIT = 0;
|
|
527
|
+
export declare const OT_IMAGE_COVER = 1;
|
|
528
|
+
export declare const OT_IMAGE_FILL = 2;
|
|
529
|
+
export declare const OT_IMAGE_PROTOCOL_AUTO = 0;
|
|
530
|
+
export declare const OT_IMAGE_PROTOCOL_KITTY = 1;
|
|
531
|
+
export declare const OT_IMAGE_PROTOCOL_SIXEL = 2;
|
|
532
|
+
export declare const OT_IMAGE_PROTOCOL_BLOCKS = 3;
|
|
533
|
+
export declare const OT_IMAGE_DRAW_SOURCE_WIDTH = 1;
|
|
534
|
+
export declare const OT_IMAGE_DRAW_SOURCE_HEIGHT = 2;
|
|
535
|
+
export declare const OT_IMAGE_ENCODED_BYTES_MAX = 67108864;
|
|
536
|
+
export declare const OT_IMAGE_FORMAT_UNKNOWN = 0;
|
|
537
|
+
export declare const OT_IMAGE_FORMAT_PNG = 1;
|
|
538
|
+
export declare const OT_IMAGE_FORMAT_RGBA = 2;
|
|
539
|
+
export declare const OT_IMAGE_FORMAT_JPEG = 3;
|
|
540
|
+
export declare const OT_IMAGE_FORMAT_WEBP = 4;
|
|
541
|
+
export declare const OT_IMAGE_FORMAT_GIF = 5;
|
|
542
|
+
export declare const OT_IMAGE_ASSUMED_SRGB = 0;
|
|
543
|
+
export declare const OT_IMAGE_EXPLICIT_SRGB = 1;
|
|
544
|
+
export declare const OT_IMAGE_RGBA8 = 0;
|
|
545
|
+
export declare const OT_IMAGE_BGRA8 = 1;
|
|
546
|
+
export declare const OT_IMAGE_ALPHA_STRAIGHT = 0;
|
|
547
|
+
export declare const OT_IMAGE_ALPHA_OPAQUE = 1;
|
|
548
|
+
export declare const OT_IMAGE_FILTER_DEFAULT = 0;
|
|
549
|
+
export declare const OT_IMAGE_FILTER_AREA = 1;
|
|
550
|
+
export declare const OT_IMAGE_FILTER_TRIANGLE = 2;
|
|
551
|
+
export declare const OT_IMAGE_FILTER_CUBIC_BSPLINE = 3;
|
|
552
|
+
export declare const OT_IMAGE_FILTER_CATMULL_ROM = 4;
|
|
553
|
+
export declare const OT_IMAGE_FILTER_MITCHELL = 5;
|
|
554
|
+
export declare const OT_IMAGE_FILTER_NEAREST = 6;
|
|
555
|
+
export declare const OT_IMAGE_ROTATE_90 = 0;
|
|
556
|
+
export declare const OT_IMAGE_ROTATE_180 = 1;
|
|
557
|
+
export declare const OT_IMAGE_ROTATE_270 = 2;
|
|
558
|
+
export declare const OT_IMAGE_FLIP = 3;
|
|
559
|
+
export declare const OT_IMAGE_FLOP = 4;
|
|
560
|
+
export declare const OT_IMAGE_BLEND_SOURCE_OVER = 0;
|
|
561
|
+
export declare const OT_IMAGE_BLEND_SOURCE = 1;
|
|
562
|
+
export declare const OT_IMAGE_BLEND_DESTINATION_OVER = 2;
|
|
563
|
+
export declare const OT_VIDEO_OPEN_NO_AUDIO = 1;
|
|
564
|
+
export declare const OT_VIDEO_PLAYING = 1;
|
|
565
|
+
export declare const OT_VIDEO_ENDED = 2;
|
|
566
|
+
export declare const OT_VIDEO_BUFFERING = 4;
|
|
567
|
+
export declare const OT_VIDEO_AUDIO = 8;
|
|
568
|
+
export declare const OT_VIDEO_HAS_FRAME = 16;
|
|
569
|
+
export declare const OT_VIDEO_ERROR = 32;
|
|
570
|
+
export declare const OT_AUDIO_START_NO_DEVICE = 1;
|
|
571
|
+
export declare const OT_TEXT_VIEW_WRAP_WIDTH = 0;
|
|
572
|
+
export declare const OT_TEXT_VIEW_WRAP_MODE = 1;
|
|
573
|
+
export declare const OT_TEXT_VIEW_FIRST_LINE_OFFSET = 2;
|
|
574
|
+
export declare const OT_TEXT_VIEW_TAB_INDICATOR = 3;
|
|
575
|
+
export declare const OT_TEXT_VIEW_TRUNCATE = 4;
|
|
576
|
+
export declare const OT_TEXT_VIEW_TEXT_ALIGN = 5;
|
|
577
|
+
export declare const OT_TEXT_REPLACEMENT_COUNT_MAX = 256;
|
|
578
|
+
export declare const OT_TEXT_REPLACEMENT_CHUNKS_MAX = 4096;
|
|
579
|
+
export declare const OT_TEXT_REPLACEMENT_BYTES_MAX = 4194304;
|
|
580
|
+
export declare const OT_TEXT_REPLACEMENT_URL_BYTES_MAX = 1048576;
|
|
581
|
+
export declare const OT_BUFFER_TEXT_BYTES_MAX = 65536;
|
|
582
|
+
export declare const OT_BUFFER_DRAW_CLEAR = 0;
|
|
583
|
+
export declare const OT_BUFFER_DRAW_FILL = 1;
|
|
584
|
+
export declare const OT_BUFFER_DRAW_TEXT = 2;
|
|
585
|
+
export declare const OT_BUFFER_DRAW_CELL = 3;
|
|
586
|
+
export declare const OT_BUFFER_DRAW_CELL_BLEND = 4;
|
|
587
|
+
export declare const OT_BUFFER_DRAW_CHAR = 5;
|
|
588
|
+
export declare const OT_BUFFER_DRAW_BOX = 6;
|
|
589
|
+
export declare const OT_BUFFER_DRAW_COMPOSE = 7;
|
|
590
|
+
export declare const OT_BUFFER_DRAW_RESPECT_ALPHA = 8;
|
|
591
|
+
export declare const OT_BUFFER_DRAW_HAS_BACKGROUND = 1;
|
|
592
|
+
export declare const OT_BUFFER_DRAW_HAS_SOURCE_WIDTH = 2;
|
|
593
|
+
export declare const OT_BUFFER_DRAW_HAS_SOURCE_HEIGHT = 4;
|
|
594
|
+
export declare const OT_BUFFER_DRAW_FIT_ELLIPSIS = 16;
|
|
595
|
+
export declare const OT_BUFFER_STACK_DEPTH_MAX = 256;
|
|
596
|
+
export declare const OT_BUFFER_STACK_GET_OPACITY = 0;
|
|
597
|
+
export declare const OT_BUFFER_STACK_PUSH_SCISSOR = 1;
|
|
598
|
+
export declare const OT_BUFFER_STACK_POP_SCISSOR = 2;
|
|
599
|
+
export declare const OT_BUFFER_STACK_CLEAR_SCISSORS = 3;
|
|
600
|
+
export declare const OT_BUFFER_STACK_PUSH_OPACITY = 4;
|
|
601
|
+
export declare const OT_BUFFER_STACK_POP_OPACITY = 5;
|
|
602
|
+
export declare const OT_BUFFER_STACK_CLEAR_OPACITY = 6;
|
|
603
|
+
export declare const OT_BUFFER_GRID_INNER = 1;
|
|
604
|
+
export declare const OT_BUFFER_GRID_OUTER = 2;
|
|
605
|
+
export declare const OT_CELL_CHAR_KIND_MASK = 3221225472;
|
|
606
|
+
export declare const OT_CELL_CHAR_IMAGE = 1073741824;
|
|
607
|
+
export declare const OT_CELL_CHAR_GRAPHEME = 2147483648;
|
|
608
|
+
export declare const OT_CELL_CHAR_CONTINUATION = 3221225472;
|
|
609
|
+
export declare const OT_SESSION_CONTROL_PACKET_BYTES = 4096;
|
|
610
|
+
export declare const OT_TERMINAL_ALTERNATE_SCREEN = 1;
|
|
611
|
+
export declare const OT_TERMINAL_MOUSE = 2;
|
|
612
|
+
export declare const OT_TERMINAL_MOUSE_MOVEMENT = 4;
|
|
613
|
+
export declare const OT_TERMINAL_CLEAR_ON_CLOSE = 8;
|
|
614
|
+
export declare const OT_TERMINAL_REPLY_SENTINEL = 16;
|
|
615
|
+
export declare const OT_TERMINAL_SYNC_ALWAYS = 32;
|
|
616
|
+
export declare const OT_TERMINAL_SYNC_NEVER = 64;
|
|
617
|
+
export declare const OT_TERMINAL_HOST_MULTIPLEXER = 128;
|
|
618
|
+
export declare const OT_KITTY_KEYBOARD_DISAMBIGUATE = 1;
|
|
619
|
+
export declare const OT_KITTY_KEYBOARD_EVENT_TYPES = 2;
|
|
620
|
+
export declare const OT_KITTY_KEYBOARD_ALTERNATE_KEYS = 4;
|
|
621
|
+
export declare const OT_KITTY_KEYBOARD_ALL_KEYS_AS_ESCAPES = 8;
|
|
622
|
+
export declare const OT_KITTY_KEYBOARD_REPORT_TEXT = 16;
|
|
623
|
+
export declare const OT_KITTY_KEYBOARD_ALL = 31;
|
|
624
|
+
export declare const OT_CONTROL_CAPABILITY_RESPONSE = 1;
|
|
625
|
+
export declare const OT_CONTROL_TITLE = 2;
|
|
626
|
+
export declare const OT_CONTROL_MOUSE = 3;
|
|
627
|
+
export declare const OT_CONTROL_KITTY_KEYBOARD_FLAGS = 4;
|
|
628
|
+
export declare const OT_CONTROL_RESTORE_MODES = 5;
|
|
629
|
+
export declare const OT_CONTROL_QUERY_PIXEL_RESOLUTION = 6;
|
|
630
|
+
export declare const OT_CONTROL_QUERY_THEME_COLORS = 7;
|
|
631
|
+
export declare const OT_CONTROL_CURSOR = 8;
|
|
632
|
+
export declare const OT_CONTROL_RESET_BACKGROUND = 9;
|
|
633
|
+
export declare const OT_CONTROL_PALETTE_QUERY = 10;
|
|
634
|
+
export declare const OT_CONTROL_PROGRAM_STATUS = 11;
|
|
635
|
+
export declare const OT_CONTROL_END_REPLY_SENTINEL = 12;
|
|
636
|
+
export declare const OT_CURSOR_POSITION = 1;
|
|
637
|
+
export declare const OT_CURSOR_STYLE = 2;
|
|
638
|
+
export declare const OT_CURSOR_BLINKING = 4;
|
|
639
|
+
export declare const OT_CURSOR_COLOR = 8;
|
|
640
|
+
export declare const OT_CURSOR_MOUSE_POINTER = 16;
|
|
641
|
+
export declare const OT_PROGRAM_STATE_IDLE = 1;
|
|
642
|
+
export declare const OT_PROGRAM_STATE_WORKING = 2;
|
|
643
|
+
export declare const OT_PROGRAM_STATE_DONE = 3;
|
|
644
|
+
export declare const OT_PROGRAM_STATE_BLOCKED = 4;
|
|
645
|
+
export declare const OT_PROGRAM_STATE_ERROR = 5;
|
|
646
|
+
export declare const OT_PROGRAM_STATE_CLEAR = 6;
|
|
647
|
+
export declare const OT_PROGRAM_KIND_PERMISSION = 1;
|
|
648
|
+
export declare const OT_PROGRAM_KIND_QUESTION = 2;
|
|
649
|
+
export declare const OT_PROGRAM_KIND_AUTH = 3;
|
|
650
|
+
export declare const OT_PROGRAM_STATUS_PROGRESS = 1;
|
|
651
|
+
export declare const OT_CAP_KITTY_KEYBOARD = 1;
|
|
652
|
+
export declare const OT_CAP_KITTY_GRAPHICS = 2;
|
|
653
|
+
export declare const OT_CAP_RGB = 4;
|
|
654
|
+
export declare const OT_CAP_ANSI256 = 8;
|
|
655
|
+
export declare const OT_CAP_SGR_PIXELS = 16;
|
|
656
|
+
export declare const OT_CAP_COLOR_SCHEME_UPDATES = 32;
|
|
657
|
+
export declare const OT_CAP_EXPLICIT_WIDTH = 64;
|
|
658
|
+
export declare const OT_CAP_SCALED_TEXT = 128;
|
|
659
|
+
export declare const OT_CAP_SIXEL = 256;
|
|
660
|
+
export declare const OT_CAP_FOCUS_TRACKING = 512;
|
|
661
|
+
export declare const OT_CAP_SYNC = 1024;
|
|
662
|
+
export declare const OT_CAP_BRACKETED_PASTE = 2048;
|
|
663
|
+
export declare const OT_CAP_HYPERLINKS = 4096;
|
|
664
|
+
export declare const OT_CAP_OSC52 = 8192;
|
|
665
|
+
export declare const OT_CAP_NOTIFICATIONS = 16384;
|
|
666
|
+
export declare const OT_CAP_EXPLICIT_CURSOR_POSITIONING = 32768;
|
|
667
|
+
export declare const OT_CAP_REMOTE = 65536;
|
|
668
|
+
export declare const OT_CAP_PROGRAM_STATUS = 131072;
|
|
669
|
+
export declare const OT_TERMINAL_UNINITIALIZED = 0;
|
|
670
|
+
export declare const OT_TERMINAL_SETTING_UP = 1;
|
|
671
|
+
export declare const OT_TERMINAL_ACTIVE = 2;
|
|
672
|
+
export declare const OT_TERMINAL_SUSPENDING = 3;
|
|
673
|
+
export declare const OT_TERMINAL_SUSPENDED = 4;
|
|
674
|
+
export declare const OT_TERMINAL_RESUMING = 5;
|
|
675
|
+
export declare const OT_TERMINAL_CLOSING = 6;
|
|
676
|
+
export declare const OT_TERMINAL_RESTORED = 7;
|
|
677
|
+
export declare const OT_TERMINAL_FAILED = 8;
|
|
678
|
+
export declare const OT_TERMINAL_CANCELLED = 9;
|
|
679
|
+
export declare const OT_PUMP_IDLE = 0;
|
|
680
|
+
export declare const OT_PUMP_AGAIN = 1;
|
|
681
|
+
export declare const OT_PUMP_OUTPUT_PENDING = 2;
|
|
682
|
+
export declare const OT_PUMP_WAIT_UNTIL = 3;
|
|
683
|
+
export declare const OT_PUMP_CLOSED = 4;
|
|
684
|
+
export declare const OT_STDOUT_IDLE = 0;
|
|
685
|
+
export declare const OT_STDOUT_IN_FLIGHT = 1;
|
|
686
|
+
export declare const OT_INPUT_KEY = 1;
|
|
687
|
+
export declare const OT_INPUT_MOUSE = 2;
|
|
688
|
+
export declare const OT_INPUT_PASTE = 3;
|
|
689
|
+
export declare const OT_INPUT_FOCUS = 4;
|
|
690
|
+
export declare const OT_INPUT_REPLY = 5;
|
|
691
|
+
export declare const OT_INPUT_KEY_PRESS = 1;
|
|
692
|
+
export declare const OT_INPUT_KEY_REPEAT = 2;
|
|
693
|
+
export declare const OT_INPUT_KEY_RELEASE = 3;
|
|
694
|
+
export declare const OT_INPUT_MOUSE_DOWN = 1;
|
|
695
|
+
export declare const OT_INPUT_MOUSE_UP = 2;
|
|
696
|
+
export declare const OT_INPUT_MOUSE_MOVE = 3;
|
|
697
|
+
export declare const OT_INPUT_MOUSE_DRAG = 4;
|
|
698
|
+
export declare const OT_INPUT_MOUSE_SCROLL = 5;
|
|
699
|
+
export declare const OT_INPUT_MOUSE_BUTTON_NONE = 255;
|
|
700
|
+
export declare const OT_INPUT_FOCUS_OUT = 0;
|
|
701
|
+
export declare const OT_INPUT_FOCUS_IN = 1;
|
|
702
|
+
export declare const OT_INPUT_MOD_SHIFT = 1;
|
|
703
|
+
export declare const OT_INPUT_MOD_ALT = 2;
|
|
704
|
+
export declare const OT_INPUT_MOD_CTRL = 4;
|
|
705
|
+
export declare const OT_INPUT_MOD_SUPER = 8;
|
|
706
|
+
export declare const OT_INPUT_MOD_HYPER = 16;
|
|
707
|
+
export declare const OT_INPUT_MOD_META = 32;
|
|
708
|
+
export declare const OT_INPUT_MOD_CAPS_LOCK = 64;
|
|
709
|
+
export declare const OT_INPUT_MOD_NUM_LOCK = 128;
|
|
710
|
+
export declare const OT_INPUT_KEY_KITTY = 1;
|
|
711
|
+
export declare const OT_INPUT_KEY_TEXT_TRUNCATED = 2;
|
|
712
|
+
export declare const OT_INPUT_KEY_TYPED = 4;
|
|
713
|
+
export declare const OT_INPUT_PASTE_START = 1;
|
|
714
|
+
export declare const OT_INPUT_PASTE_END = 2;
|
|
715
|
+
export declare const OT_INPUT_REPLY_FRAGMENT = 1;
|
|
716
|
+
export declare const OT_INPUT_REPLY_CURSOR_POSITION = 2;
|
|
717
|
+
export declare const OT_INPUT_REPLY_CSI = 1;
|
|
718
|
+
export declare const OT_INPUT_REPLY_SS3 = 2;
|
|
719
|
+
export declare const OT_INPUT_REPLY_OSC = 3;
|
|
720
|
+
export declare const OT_INPUT_REPLY_DCS = 4;
|
|
721
|
+
export declare const OT_INPUT_REPLY_APC = 5;
|
|
722
|
+
export declare const OT_INPUT_KEY_ESCAPE = 27;
|
|
723
|
+
export declare const OT_INPUT_KEY_ENTER = 13;
|
|
724
|
+
export declare const OT_INPUT_KEY_TAB = 9;
|
|
725
|
+
export declare const OT_INPUT_KEY_BACKSPACE = 127;
|
|
726
|
+
export declare const OT_INPUT_KEY_INSERT = 57348;
|
|
727
|
+
export declare const OT_INPUT_KEY_DELETE = 57349;
|
|
728
|
+
export declare const OT_INPUT_KEY_LEFT = 57350;
|
|
729
|
+
export declare const OT_INPUT_KEY_RIGHT = 57351;
|
|
730
|
+
export declare const OT_INPUT_KEY_UP = 57352;
|
|
731
|
+
export declare const OT_INPUT_KEY_DOWN = 57353;
|
|
732
|
+
export declare const OT_INPUT_KEY_PAGE_UP = 57354;
|
|
733
|
+
export declare const OT_INPUT_KEY_PAGE_DOWN = 57355;
|
|
734
|
+
export declare const OT_INPUT_KEY_HOME = 57356;
|
|
735
|
+
export declare const OT_INPUT_KEY_END = 57357;
|
|
736
|
+
export declare const OT_INPUT_KEY_CAPS_LOCK = 57358;
|
|
737
|
+
export declare const OT_INPUT_KEY_SCROLL_LOCK = 57359;
|
|
738
|
+
export declare const OT_INPUT_KEY_NUM_LOCK = 57360;
|
|
739
|
+
export declare const OT_INPUT_KEY_PRINT_SCREEN = 57361;
|
|
740
|
+
export declare const OT_INPUT_KEY_PAUSE = 57362;
|
|
741
|
+
export declare const OT_INPUT_KEY_MENU = 57363;
|
|
742
|
+
export declare const OT_INPUT_KEY_F1 = 57364;
|
|
743
|
+
export declare const OT_INPUT_KEY_F35 = 57398;
|
|
744
|
+
export declare const OT_INPUT_KEY_KP_0 = 57399;
|
|
745
|
+
export declare const OT_INPUT_KEY_KP_9 = 57408;
|
|
746
|
+
export declare const OT_INPUT_KEY_KP_DECIMAL = 57409;
|
|
747
|
+
export declare const OT_INPUT_KEY_KP_DIVIDE = 57410;
|
|
748
|
+
export declare const OT_INPUT_KEY_KP_MULTIPLY = 57411;
|
|
749
|
+
export declare const OT_INPUT_KEY_KP_SUBTRACT = 57412;
|
|
750
|
+
export declare const OT_INPUT_KEY_KP_ADD = 57413;
|
|
751
|
+
export declare const OT_INPUT_KEY_KP_ENTER = 57414;
|
|
752
|
+
export declare const OT_INPUT_KEY_KP_EQUAL = 57415;
|
|
753
|
+
export declare const OT_INPUT_KEY_KP_SEPARATOR = 57416;
|
|
754
|
+
export declare const OT_INPUT_KEY_KP_LEFT = 57417;
|
|
755
|
+
export declare const OT_INPUT_KEY_KP_RIGHT = 57418;
|
|
756
|
+
export declare const OT_INPUT_KEY_KP_UP = 57419;
|
|
757
|
+
export declare const OT_INPUT_KEY_KP_DOWN = 57420;
|
|
758
|
+
export declare const OT_INPUT_KEY_KP_PAGE_UP = 57421;
|
|
759
|
+
export declare const OT_INPUT_KEY_KP_PAGE_DOWN = 57422;
|
|
760
|
+
export declare const OT_INPUT_KEY_KP_HOME = 57423;
|
|
761
|
+
export declare const OT_INPUT_KEY_KP_END = 57424;
|
|
762
|
+
export declare const OT_INPUT_KEY_KP_INSERT = 57425;
|
|
763
|
+
export declare const OT_INPUT_KEY_KP_DELETE = 57426;
|
|
764
|
+
export declare const OT_INPUT_KEY_KP_BEGIN = 57427;
|
|
765
|
+
export declare const OT_INPUT_KEY_MEDIA_PLAY = 57428;
|
|
766
|
+
export declare const OT_INPUT_KEY_MEDIA_PAUSE = 57429;
|
|
767
|
+
export declare const OT_INPUT_KEY_MEDIA_PLAY_PAUSE = 57430;
|
|
768
|
+
export declare const OT_INPUT_KEY_MEDIA_REVERSE = 57431;
|
|
769
|
+
export declare const OT_INPUT_KEY_MEDIA_STOP = 57432;
|
|
770
|
+
export declare const OT_INPUT_KEY_MEDIA_FAST_FORWARD = 57433;
|
|
771
|
+
export declare const OT_INPUT_KEY_MEDIA_REWIND = 57434;
|
|
772
|
+
export declare const OT_INPUT_KEY_MEDIA_TRACK_NEXT = 57435;
|
|
773
|
+
export declare const OT_INPUT_KEY_MEDIA_TRACK_PREVIOUS = 57436;
|
|
774
|
+
export declare const OT_INPUT_KEY_MEDIA_RECORD = 57437;
|
|
775
|
+
export declare const OT_INPUT_KEY_LOWER_VOLUME = 57438;
|
|
776
|
+
export declare const OT_INPUT_KEY_RAISE_VOLUME = 57439;
|
|
777
|
+
export declare const OT_INPUT_KEY_MUTE_VOLUME = 57440;
|
|
778
|
+
export declare const OT_INPUT_KEY_LEFT_SHIFT = 57441;
|
|
779
|
+
export declare const OT_INPUT_KEY_LEFT_CONTROL = 57442;
|
|
780
|
+
export declare const OT_INPUT_KEY_LEFT_ALT = 57443;
|
|
781
|
+
export declare const OT_INPUT_KEY_LEFT_SUPER = 57444;
|
|
782
|
+
export declare const OT_INPUT_KEY_LEFT_HYPER = 57445;
|
|
783
|
+
export declare const OT_INPUT_KEY_LEFT_META = 57446;
|
|
784
|
+
export declare const OT_INPUT_KEY_RIGHT_SHIFT = 57447;
|
|
785
|
+
export declare const OT_INPUT_KEY_RIGHT_CONTROL = 57448;
|
|
786
|
+
export declare const OT_INPUT_KEY_RIGHT_ALT = 57449;
|
|
787
|
+
export declare const OT_INPUT_KEY_RIGHT_SUPER = 57450;
|
|
788
|
+
export declare const OT_INPUT_KEY_RIGHT_HYPER = 57451;
|
|
789
|
+
export declare const OT_INPUT_KEY_RIGHT_META = 57452;
|
|
790
|
+
export declare const OT_INPUT_KEY_ISO_LEVEL3_SHIFT = 57453;
|
|
791
|
+
export declare const OT_INPUT_KEY_ISO_LEVEL5_SHIFT = 57454;
|
|
792
|
+
export declare const OT_INPUT_EXPECT_REPLIES = 1;
|
|
793
|
+
export declare const OT_INPUT_EXPECT_KITTY_KEYBOARD = 2;
|
|
794
|
+
export declare const OT_INPUT_EXPECT_CURSOR_POSITION = 4;
|
|
795
|
+
export declare const OT_INPUT_EXPECT_SENTINEL = 8;
|
|
796
|
+
export declare const OT_INPUT_EXPECT_ESCAPE_PREFIX = 16;
|
|
797
|
+
export declare const OT_INPUT_EVENTS_MIN = 4;
|
|
798
|
+
export declare const OT_INPUT_PAYLOAD_BYTES_MIN = 4384;
|
|
799
|
+
export declare const OT_INPUT_TIMEOUT_NS = 20000000;
|
|
800
|
+
export declare const OT_DIAGNOSTIC_MESSAGE_BYTES = 4096;
|
|
801
|
+
export declare const OT_DIAGNOSTIC_TRUNCATED = 1;
|
|
802
|
+
export declare const OT_DIAGNOSTIC_QUEUE_MAX = 64;
|
|
803
|
+
export declare const OT_SCENE_RECORD_BYTES_MAX = 67108864;
|
|
804
|
+
export declare const OT_SCENE_RECORD_PHASE_BEFORE = 0;
|
|
805
|
+
export declare const OT_SCENE_RECORD_PHASE_SELF = 1;
|
|
806
|
+
export declare const OT_SCENE_RECORD_PHASE_AFTER = 2;
|
|
807
|
+
export declare const OT_SCENE_RECORD_SLOT = 0;
|
|
808
|
+
export declare const OT_SCENE_RECORD_DRAW = 1;
|
|
809
|
+
export declare const OT_SCENE_RECORD_STACK = 2;
|
|
810
|
+
export declare const OT_SCENE_RECORD_GRID = 3;
|
|
811
|
+
export declare const OT_SCENE_RECORD_PACKED = 4;
|
|
812
|
+
export declare const OT_SCENE_RECORD_SUPERSAMPLE = 5;
|
|
813
|
+
export declare const OT_SCENE_RECORD_GRAYSCALE = 6;
|
|
814
|
+
export declare const OT_SCENE_RECORD_COLOR_MATRIX = 7;
|
|
815
|
+
export declare const OT_SCENE_RECORD_TEXT_VIEW = 8;
|
|
816
|
+
export declare const OT_SCENE_RECORD_EDITOR_VIEW = 9;
|
|
817
|
+
export declare const OT_SCENE_RECORD_SCENE_BODY = 10;
|
|
818
|
+
export declare const OT_SCENE_RECORD_IMAGE = 11;
|
|
819
|
+
export declare const OT_SCENE_RECORD_UNICODE = 12;
|
|
820
|
+
export declare const OT_SCENE_RECORD_CELLS = 13;
|
|
821
|
+
export declare const OT_SCENE_RECORD_GRAYSCALE_FOREGROUND = 1;
|
|
822
|
+
export declare const OT_SCENE_RECORD_GRAYSCALE_BACKGROUND = 2;
|
|
823
|
+
export declare const OT_SCENE_RECORD_GRAYSCALE_SUPERSAMPLED = 4;
|
|
824
|
+
export declare const OT_INPUT_RESET_KEEP_REPLY = 1;
|
|
825
|
+
export declare const OT_CLIPBOARD_OPERATION_PENDING = 0;
|
|
826
|
+
export declare const OT_CLIPBOARD_OPERATION_READ = 1;
|
|
827
|
+
export declare const OT_CLIPBOARD_OPERATION_EMPTY = 2;
|
|
828
|
+
export declare const OT_CLIPBOARD_OPERATION_WRITTEN = 3;
|
|
829
|
+
export declare const OT_CLIPBOARD_OPERATION_CLEARED = 4;
|
|
830
|
+
export declare const OT_CLIPBOARD_OPERATION_UNSUPPORTED = 5;
|
|
831
|
+
export declare const OT_CLIPBOARD_OPERATION_CANCELLED = 6;
|
|
832
|
+
export declare const OT_CLIPBOARD_OPERATION_TIMED_OUT = 7;
|
|
833
|
+
export declare const OT_CLIPBOARD_OPERATION_LIMIT_EXCEEDED = 8;
|
|
834
|
+
export declare const OT_CLIPBOARD_OPERATION_FAILED = 9;
|
|
835
|
+
export declare const OT_CLIPBOARD_OPERATION_INVALID_HANDLE = 10;
|
|
836
|
+
export declare const OT_CLIPBOARD_START_OK = 0;
|
|
837
|
+
export declare const OT_CLIPBOARD_START_INVALID_SERVICE = 1;
|
|
838
|
+
export declare const OT_CLIPBOARD_START_SHUTTING_DOWN = 2;
|
|
839
|
+
export declare const OT_CLIPBOARD_START_LIMIT_EXCEEDED = 3;
|
|
840
|
+
export declare const OT_CLIPBOARD_START_INVALID_ARGUMENT = 4;
|
|
841
|
+
export declare const OT_CLIPBOARD_START_OUT_OF_MEMORY = 5;
|
|
842
|
+
export declare const OT_CLIPBOARD_CANCEL_REQUESTED = 0;
|
|
843
|
+
export declare const OT_CLIPBOARD_CANCEL_ALREADY_TERMINAL = 1;
|
|
844
|
+
export declare const OT_CLIPBOARD_CANCEL_INVALID_HANDLE = 2;
|
|
845
|
+
export declare const OT_CLIPBOARD_COPY_OK = 0;
|
|
846
|
+
export declare const OT_CLIPBOARD_COPY_BUFFER_TOO_SMALL = 1;
|
|
847
|
+
export declare const OT_CLIPBOARD_COPY_INVALID_HANDLE = 2;
|
|
848
|
+
export declare const OT_CLIPBOARD_COPY_INVALID_STATE = 3;
|
|
849
|
+
export declare const OT_CLIPBOARD_COPY_INVALID_ARGUMENT = 4;
|
|
850
|
+
export declare const OT_CLIPBOARD_DESTROY_DESTROYED = 0;
|
|
851
|
+
export declare const OT_CLIPBOARD_DESTROY_NOT_READY = 1;
|
|
852
|
+
export declare const OT_CLIPBOARD_DESTROY_INVALID_HANDLE = 2;
|
|
853
|
+
export declare const OT_CLIPBOARD_SHUTDOWN_PENDING = 0;
|
|
854
|
+
export declare const OT_CLIPBOARD_SHUTDOWN_READY = 1;
|
|
855
|
+
export declare const OT_CLIPBOARD_SHUTDOWN_INVALID_HANDLE = 2;
|
|
1
856
|
export declare const nativeSymbols: {
|
|
2
857
|
readonly ot_scene_set_hooks: {
|
|
3
858
|
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
@@ -27,6 +882,10 @@ export declare const nativeSymbols: {
|
|
|
27
882
|
readonly args: readonly ["ptr", "buffer", "ptr", "u32"];
|
|
28
883
|
readonly returns: "i32";
|
|
29
884
|
};
|
|
885
|
+
readonly ot_scene_clear_children: {
|
|
886
|
+
readonly args: readonly ["ptr", "buffer"];
|
|
887
|
+
readonly returns: "i32";
|
|
888
|
+
};
|
|
30
889
|
readonly ot_scene_set_measure: {
|
|
31
890
|
readonly args: readonly ["ptr", "buffer", "ptr"];
|
|
32
891
|
readonly returns: "i32";
|
|
@@ -39,6 +898,10 @@ export declare const nativeSymbols: {
|
|
|
39
898
|
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
40
899
|
readonly returns: "i32";
|
|
41
900
|
};
|
|
901
|
+
readonly ot_scene_painted: {
|
|
902
|
+
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
903
|
+
readonly returns: "i32";
|
|
904
|
+
};
|
|
42
905
|
readonly ot_scene_mark_dirty: {
|
|
43
906
|
readonly args: readonly ["ptr", "buffer"];
|
|
44
907
|
readonly returns: "i32";
|
|
@@ -143,6 +1006,10 @@ export declare const nativeSymbols: {
|
|
|
143
1006
|
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
|
|
144
1007
|
readonly returns: "i32";
|
|
145
1008
|
};
|
|
1009
|
+
readonly ot_scene_get_text_byte_at: {
|
|
1010
|
+
readonly args: readonly ["ptr", "buffer", "i32", "i32", "buffer"];
|
|
1011
|
+
readonly returns: "i32";
|
|
1012
|
+
};
|
|
146
1013
|
readonly ot_scene_get_layout: {
|
|
147
1014
|
readonly args: readonly ["ptr", "buffer", "u32", "buffer"];
|
|
148
1015
|
readonly returns: "i32";
|
|
@@ -155,6 +1022,10 @@ export declare const nativeSymbols: {
|
|
|
155
1022
|
readonly args: readonly ["ptr", "buffer", "i32", "i32", "buffer"];
|
|
156
1023
|
readonly returns: "i32";
|
|
157
1024
|
};
|
|
1025
|
+
readonly ot_scene_hit_test_excluding: {
|
|
1026
|
+
readonly args: readonly ["ptr", "buffer", "i32", "i32", "u32", "buffer"];
|
|
1027
|
+
readonly returns: "i32";
|
|
1028
|
+
};
|
|
158
1029
|
readonly ot_scene_get_stats: {
|
|
159
1030
|
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
160
1031
|
readonly returns: "i32";
|
|
@@ -339,6 +1210,10 @@ export declare const nativeSymbols: {
|
|
|
339
1210
|
readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "u32", "u32", "ptr", "u32", "buffer"];
|
|
340
1211
|
readonly returns: "i32";
|
|
341
1212
|
};
|
|
1213
|
+
readonly ot_edit_buffer_convert_offset: {
|
|
1214
|
+
readonly args: readonly ["ptr", "buffer", "u32", "u32", "buffer"];
|
|
1215
|
+
readonly returns: "i32";
|
|
1216
|
+
};
|
|
342
1217
|
readonly ot_edit_buffer_measure_text: {
|
|
343
1218
|
readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
|
|
344
1219
|
readonly returns: "i32";
|
|
@@ -371,6 +1246,66 @@ export declare const nativeSymbols: {
|
|
|
371
1246
|
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
|
|
372
1247
|
readonly returns: "i32";
|
|
373
1248
|
};
|
|
1249
|
+
readonly ot_context_group_set: {
|
|
1250
|
+
readonly args: readonly ["ptr", "buffer", "u32", "buffer", "u32", "buffer"];
|
|
1251
|
+
readonly returns: "i32";
|
|
1252
|
+
};
|
|
1253
|
+
readonly ot_edit_buffer_set_layer: {
|
|
1254
|
+
readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "ptr", "u32"];
|
|
1255
|
+
readonly returns: "i32";
|
|
1256
|
+
};
|
|
1257
|
+
readonly ot_edit_buffer_mark: {
|
|
1258
|
+
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "ptr"];
|
|
1259
|
+
readonly returns: "i32";
|
|
1260
|
+
};
|
|
1261
|
+
readonly ot_edit_buffer_get_marks: {
|
|
1262
|
+
readonly args: readonly ["ptr", "buffer", "u32", "u32", "ptr", "u32", "buffer"];
|
|
1263
|
+
readonly returns: "i32";
|
|
1264
|
+
};
|
|
1265
|
+
readonly ot_markdown_create: {
|
|
1266
|
+
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
1267
|
+
readonly returns: "i32";
|
|
1268
|
+
};
|
|
1269
|
+
readonly ot_markdown_destroy: {
|
|
1270
|
+
readonly args: readonly ["ptr", "buffer"];
|
|
1271
|
+
readonly returns: "i32";
|
|
1272
|
+
};
|
|
1273
|
+
readonly ot_markdown_set_options: {
|
|
1274
|
+
readonly args: readonly ["ptr", "buffer", "buffer", "buffer"];
|
|
1275
|
+
readonly returns: "i32";
|
|
1276
|
+
};
|
|
1277
|
+
readonly ot_markdown_append: {
|
|
1278
|
+
readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
|
|
1279
|
+
readonly returns: "i32";
|
|
1280
|
+
};
|
|
1281
|
+
readonly ot_markdown_set: {
|
|
1282
|
+
readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
|
|
1283
|
+
readonly returns: "i32";
|
|
1284
|
+
};
|
|
1285
|
+
readonly ot_markdown_finish: {
|
|
1286
|
+
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
1287
|
+
readonly returns: "i32";
|
|
1288
|
+
};
|
|
1289
|
+
readonly ot_markdown_get_source: {
|
|
1290
|
+
readonly args: readonly ["ptr", "buffer", "buffer", "buffer"];
|
|
1291
|
+
readonly returns: "i32";
|
|
1292
|
+
};
|
|
1293
|
+
readonly ot_markdown_read_changes: {
|
|
1294
|
+
readonly args: readonly ["ptr", "buffer", "ptr", "u32", "buffer"];
|
|
1295
|
+
readonly returns: "i32";
|
|
1296
|
+
};
|
|
1297
|
+
readonly ot_markdown_read_source: {
|
|
1298
|
+
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
|
|
1299
|
+
readonly returns: "i32";
|
|
1300
|
+
};
|
|
1301
|
+
readonly ot_markdown_read_leaf: {
|
|
1302
|
+
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer", "ptr", "ptr", "u32", "buffer", "ptr", "u32", "buffer"];
|
|
1303
|
+
readonly returns: "i32";
|
|
1304
|
+
};
|
|
1305
|
+
readonly ot_markdown_bind: {
|
|
1306
|
+
readonly args: readonly ["ptr", "buffer", "u32", "buffer"];
|
|
1307
|
+
readonly returns: "i32";
|
|
1308
|
+
};
|
|
374
1309
|
readonly ot_editor_view_set_viewport: {
|
|
375
1310
|
readonly args: readonly ["ptr", "buffer", "buffer", "u32", "u32"];
|
|
376
1311
|
readonly returns: "i32";
|
|
@@ -691,6 +1626,10 @@ export declare const nativeSymbols: {
|
|
|
691
1626
|
readonly args: readonly ["ptr", "buffer", "u32"];
|
|
692
1627
|
readonly returns: "i32";
|
|
693
1628
|
};
|
|
1629
|
+
readonly ot_text_buffer_set_width_method: {
|
|
1630
|
+
readonly args: readonly ["ptr", "buffer", "u32"];
|
|
1631
|
+
readonly returns: "i32";
|
|
1632
|
+
};
|
|
694
1633
|
readonly ot_text_buffer_highlight: {
|
|
695
1634
|
readonly args: readonly ["ptr", "buffer", "u32", "u32", "ptr"];
|
|
696
1635
|
readonly returns: "i32";
|
|
@@ -699,6 +1638,10 @@ export declare const nativeSymbols: {
|
|
|
699
1638
|
readonly args: readonly ["ptr", "buffer", "u32", "ptr", "u32", "buffer"];
|
|
700
1639
|
readonly returns: "i32";
|
|
701
1640
|
};
|
|
1641
|
+
readonly ot_text_buffer_set_layer: {
|
|
1642
|
+
readonly args: readonly ["ptr", "buffer", "u32", "u32", "u32", "ptr", "u32"];
|
|
1643
|
+
readonly returns: "i32";
|
|
1644
|
+
};
|
|
702
1645
|
readonly ot_text_buffer_view_set_viewport: {
|
|
703
1646
|
readonly args: readonly ["ptr", "buffer", "buffer", "u32"];
|
|
704
1647
|
readonly returns: "i32";
|
|
@@ -3373,7 +4316,7 @@ export declare const nativeLayouts: {
|
|
|
3373
4316
|
readonly alignment: 4;
|
|
3374
4317
|
readonly type: "u32";
|
|
3375
4318
|
};
|
|
3376
|
-
readonly
|
|
4319
|
+
readonly flags: {
|
|
3377
4320
|
readonly offset: 12;
|
|
3378
4321
|
readonly size: 4;
|
|
3379
4322
|
readonly alignment: 4;
|
|
@@ -3633,6 +4576,246 @@ export declare const nativeLayouts: {
|
|
|
3633
4576
|
};
|
|
3634
4577
|
};
|
|
3635
4578
|
};
|
|
4579
|
+
readonly ot_highlight_run: {
|
|
4580
|
+
readonly size: 12;
|
|
4581
|
+
readonly alignment: 4;
|
|
4582
|
+
readonly fields: {
|
|
4583
|
+
readonly start_byte: {
|
|
4584
|
+
readonly offset: 0;
|
|
4585
|
+
readonly size: 4;
|
|
4586
|
+
readonly alignment: 4;
|
|
4587
|
+
readonly type: "u32";
|
|
4588
|
+
};
|
|
4589
|
+
readonly end_byte: {
|
|
4590
|
+
readonly offset: 4;
|
|
4591
|
+
readonly size: 4;
|
|
4592
|
+
readonly alignment: 4;
|
|
4593
|
+
readonly type: "u32";
|
|
4594
|
+
};
|
|
4595
|
+
readonly group_set: {
|
|
4596
|
+
readonly offset: 8;
|
|
4597
|
+
readonly size: 4;
|
|
4598
|
+
readonly alignment: 4;
|
|
4599
|
+
readonly type: "u32";
|
|
4600
|
+
};
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
readonly ot_edit_mark: {
|
|
4604
|
+
readonly size: 76;
|
|
4605
|
+
readonly alignment: 4;
|
|
4606
|
+
readonly fields: {
|
|
4607
|
+
readonly struct_size: {
|
|
4608
|
+
readonly offset: 0;
|
|
4609
|
+
readonly size: 4;
|
|
4610
|
+
readonly alignment: 4;
|
|
4611
|
+
readonly type: "u32";
|
|
4612
|
+
};
|
|
4613
|
+
readonly abi_version: {
|
|
4614
|
+
readonly offset: 4;
|
|
4615
|
+
readonly size: 4;
|
|
4616
|
+
readonly alignment: 4;
|
|
4617
|
+
readonly type: "u32";
|
|
4618
|
+
};
|
|
4619
|
+
readonly id: {
|
|
4620
|
+
readonly offset: 8;
|
|
4621
|
+
readonly size: 4;
|
|
4622
|
+
readonly alignment: 4;
|
|
4623
|
+
readonly type: "u32";
|
|
4624
|
+
};
|
|
4625
|
+
readonly kind: {
|
|
4626
|
+
readonly offset: 12;
|
|
4627
|
+
readonly size: 4;
|
|
4628
|
+
readonly alignment: 4;
|
|
4629
|
+
readonly type: "u32";
|
|
4630
|
+
};
|
|
4631
|
+
readonly flags: {
|
|
4632
|
+
readonly offset: 16;
|
|
4633
|
+
readonly size: 4;
|
|
4634
|
+
readonly alignment: 4;
|
|
4635
|
+
readonly type: "u32";
|
|
4636
|
+
};
|
|
4637
|
+
readonly style: {
|
|
4638
|
+
readonly offset: 20;
|
|
4639
|
+
readonly size: 4;
|
|
4640
|
+
readonly alignment: 4;
|
|
4641
|
+
readonly type: "u32";
|
|
4642
|
+
};
|
|
4643
|
+
readonly value: {
|
|
4644
|
+
readonly offset: 24;
|
|
4645
|
+
readonly size: 32;
|
|
4646
|
+
readonly alignment: 4;
|
|
4647
|
+
readonly type: "ot_editor_style";
|
|
4648
|
+
};
|
|
4649
|
+
readonly priority: {
|
|
4650
|
+
readonly offset: 56;
|
|
4651
|
+
readonly size: 4;
|
|
4652
|
+
readonly alignment: 4;
|
|
4653
|
+
readonly type: "u32";
|
|
4654
|
+
};
|
|
4655
|
+
readonly start: {
|
|
4656
|
+
readonly offset: 60;
|
|
4657
|
+
readonly size: 4;
|
|
4658
|
+
readonly alignment: 4;
|
|
4659
|
+
readonly type: "u32";
|
|
4660
|
+
};
|
|
4661
|
+
readonly end: {
|
|
4662
|
+
readonly offset: 64;
|
|
4663
|
+
readonly size: 4;
|
|
4664
|
+
readonly alignment: 4;
|
|
4665
|
+
readonly type: "u32";
|
|
4666
|
+
};
|
|
4667
|
+
readonly start_byte: {
|
|
4668
|
+
readonly offset: 68;
|
|
4669
|
+
readonly size: 4;
|
|
4670
|
+
readonly alignment: 4;
|
|
4671
|
+
readonly type: "u32";
|
|
4672
|
+
};
|
|
4673
|
+
readonly end_byte: {
|
|
4674
|
+
readonly offset: 72;
|
|
4675
|
+
readonly size: 4;
|
|
4676
|
+
readonly alignment: 4;
|
|
4677
|
+
readonly type: "u32";
|
|
4678
|
+
};
|
|
4679
|
+
};
|
|
4680
|
+
};
|
|
4681
|
+
readonly ot_markdown_options: {
|
|
4682
|
+
readonly size: 296;
|
|
4683
|
+
readonly alignment: 8;
|
|
4684
|
+
readonly fields: {
|
|
4685
|
+
readonly struct_size: {
|
|
4686
|
+
readonly offset: 0;
|
|
4687
|
+
readonly size: 4;
|
|
4688
|
+
readonly alignment: 4;
|
|
4689
|
+
readonly type: "u32";
|
|
4690
|
+
};
|
|
4691
|
+
readonly abi_version: {
|
|
4692
|
+
readonly offset: 4;
|
|
4693
|
+
readonly size: 4;
|
|
4694
|
+
readonly alignment: 4;
|
|
4695
|
+
readonly type: "u32";
|
|
4696
|
+
};
|
|
4697
|
+
readonly flags: {
|
|
4698
|
+
readonly offset: 8;
|
|
4699
|
+
readonly size: 4;
|
|
4700
|
+
readonly alignment: 4;
|
|
4701
|
+
readonly type: "u32";
|
|
4702
|
+
};
|
|
4703
|
+
readonly source_byte_limit: {
|
|
4704
|
+
readonly offset: 12;
|
|
4705
|
+
readonly size: 4;
|
|
4706
|
+
readonly alignment: 4;
|
|
4707
|
+
readonly type: "u32";
|
|
4708
|
+
};
|
|
4709
|
+
readonly syntax_style: {
|
|
4710
|
+
readonly offset: 16;
|
|
4711
|
+
readonly size: 16;
|
|
4712
|
+
readonly alignment: 8;
|
|
4713
|
+
readonly type: "ot_handle";
|
|
4714
|
+
};
|
|
4715
|
+
readonly hook_filter_byte_count: {
|
|
4716
|
+
readonly offset: 32;
|
|
4717
|
+
readonly size: 4;
|
|
4718
|
+
readonly alignment: 4;
|
|
4719
|
+
readonly type: "u32";
|
|
4720
|
+
};
|
|
4721
|
+
readonly reserved: {
|
|
4722
|
+
readonly offset: 36;
|
|
4723
|
+
readonly size: 4;
|
|
4724
|
+
readonly alignment: 4;
|
|
4725
|
+
readonly type: "u32";
|
|
4726
|
+
};
|
|
4727
|
+
readonly hook_filter: {
|
|
4728
|
+
readonly offset: 40;
|
|
4729
|
+
readonly size: 256;
|
|
4730
|
+
readonly alignment: 1;
|
|
4731
|
+
readonly type: "[256]u8";
|
|
4732
|
+
};
|
|
4733
|
+
};
|
|
4734
|
+
};
|
|
4735
|
+
readonly ot_markdown_result: {
|
|
4736
|
+
readonly size: 12;
|
|
4737
|
+
readonly alignment: 4;
|
|
4738
|
+
readonly fields: {
|
|
4739
|
+
readonly changed_block_count: {
|
|
4740
|
+
readonly offset: 0;
|
|
4741
|
+
readonly size: 4;
|
|
4742
|
+
readonly alignment: 4;
|
|
4743
|
+
readonly type: "u32";
|
|
4744
|
+
};
|
|
4745
|
+
readonly committed_top_level_count: {
|
|
4746
|
+
readonly offset: 4;
|
|
4747
|
+
readonly size: 4;
|
|
4748
|
+
readonly alignment: 4;
|
|
4749
|
+
readonly type: "u32";
|
|
4750
|
+
};
|
|
4751
|
+
readonly removed_from_index: {
|
|
4752
|
+
readonly offset: 8;
|
|
4753
|
+
readonly size: 4;
|
|
4754
|
+
readonly alignment: 4;
|
|
4755
|
+
readonly type: "u32";
|
|
4756
|
+
};
|
|
4757
|
+
};
|
|
4758
|
+
};
|
|
4759
|
+
readonly ot_markdown_block: {
|
|
4760
|
+
readonly size: 32;
|
|
4761
|
+
readonly alignment: 4;
|
|
4762
|
+
readonly fields: {
|
|
4763
|
+
readonly index: {
|
|
4764
|
+
readonly offset: 0;
|
|
4765
|
+
readonly size: 4;
|
|
4766
|
+
readonly alignment: 4;
|
|
4767
|
+
readonly type: "u32";
|
|
4768
|
+
};
|
|
4769
|
+
readonly parent_index: {
|
|
4770
|
+
readonly offset: 4;
|
|
4771
|
+
readonly size: 4;
|
|
4772
|
+
readonly alignment: 4;
|
|
4773
|
+
readonly type: "u32";
|
|
4774
|
+
};
|
|
4775
|
+
readonly kind: {
|
|
4776
|
+
readonly offset: 8;
|
|
4777
|
+
readonly size: 2;
|
|
4778
|
+
readonly alignment: 2;
|
|
4779
|
+
readonly type: "u16";
|
|
4780
|
+
};
|
|
4781
|
+
readonly flags: {
|
|
4782
|
+
readonly offset: 10;
|
|
4783
|
+
readonly size: 2;
|
|
4784
|
+
readonly alignment: 2;
|
|
4785
|
+
readonly type: "u16";
|
|
4786
|
+
};
|
|
4787
|
+
readonly source_start_byte: {
|
|
4788
|
+
readonly offset: 12;
|
|
4789
|
+
readonly size: 4;
|
|
4790
|
+
readonly alignment: 4;
|
|
4791
|
+
readonly type: "u32";
|
|
4792
|
+
};
|
|
4793
|
+
readonly source_end_byte: {
|
|
4794
|
+
readonly offset: 16;
|
|
4795
|
+
readonly size: 4;
|
|
4796
|
+
readonly alignment: 4;
|
|
4797
|
+
readonly type: "u32";
|
|
4798
|
+
};
|
|
4799
|
+
readonly info_start_byte: {
|
|
4800
|
+
readonly offset: 20;
|
|
4801
|
+
readonly size: 4;
|
|
4802
|
+
readonly alignment: 4;
|
|
4803
|
+
readonly type: "u32";
|
|
4804
|
+
};
|
|
4805
|
+
readonly info_end_byte: {
|
|
4806
|
+
readonly offset: 24;
|
|
4807
|
+
readonly size: 4;
|
|
4808
|
+
readonly alignment: 4;
|
|
4809
|
+
readonly type: "u32";
|
|
4810
|
+
};
|
|
4811
|
+
readonly number: {
|
|
4812
|
+
readonly offset: 28;
|
|
4813
|
+
readonly size: 4;
|
|
4814
|
+
readonly alignment: 4;
|
|
4815
|
+
readonly type: "u32";
|
|
4816
|
+
};
|
|
4817
|
+
};
|
|
4818
|
+
};
|
|
3636
4819
|
readonly ot_editor_viewport: {
|
|
3637
4820
|
readonly size: 24;
|
|
3638
4821
|
readonly alignment: 4;
|
|
@@ -5811,6 +6994,72 @@ export declare const nativeLayouts: {
|
|
|
5811
6994
|
};
|
|
5812
6995
|
};
|
|
5813
6996
|
};
|
|
6997
|
+
readonly ot_scene_cell: {
|
|
6998
|
+
readonly size: 24;
|
|
6999
|
+
readonly alignment: 4;
|
|
7000
|
+
readonly fields: {
|
|
7001
|
+
readonly character: {
|
|
7002
|
+
readonly offset: 0;
|
|
7003
|
+
readonly size: 4;
|
|
7004
|
+
readonly alignment: 4;
|
|
7005
|
+
readonly type: "u32";
|
|
7006
|
+
};
|
|
7007
|
+
readonly attributes: {
|
|
7008
|
+
readonly offset: 4;
|
|
7009
|
+
readonly size: 4;
|
|
7010
|
+
readonly alignment: 4;
|
|
7011
|
+
readonly type: "u32";
|
|
7012
|
+
};
|
|
7013
|
+
readonly foreground: {
|
|
7014
|
+
readonly offset: 8;
|
|
7015
|
+
readonly size: 8;
|
|
7016
|
+
readonly alignment: 2;
|
|
7017
|
+
readonly type: "[4]u16";
|
|
7018
|
+
};
|
|
7019
|
+
readonly background: {
|
|
7020
|
+
readonly offset: 16;
|
|
7021
|
+
readonly size: 8;
|
|
7022
|
+
readonly alignment: 2;
|
|
7023
|
+
readonly type: "[4]u16";
|
|
7024
|
+
};
|
|
7025
|
+
};
|
|
7026
|
+
};
|
|
7027
|
+
readonly ot_scene_record_cells: {
|
|
7028
|
+
readonly size: 24;
|
|
7029
|
+
readonly alignment: 4;
|
|
7030
|
+
readonly fields: {
|
|
7031
|
+
readonly header: {
|
|
7032
|
+
readonly offset: 0;
|
|
7033
|
+
readonly size: 8;
|
|
7034
|
+
readonly alignment: 4;
|
|
7035
|
+
readonly type: "ot_scene_record_header";
|
|
7036
|
+
};
|
|
7037
|
+
readonly x: {
|
|
7038
|
+
readonly offset: 8;
|
|
7039
|
+
readonly size: 4;
|
|
7040
|
+
readonly alignment: 4;
|
|
7041
|
+
readonly type: "i32";
|
|
7042
|
+
};
|
|
7043
|
+
readonly y: {
|
|
7044
|
+
readonly offset: 12;
|
|
7045
|
+
readonly size: 4;
|
|
7046
|
+
readonly alignment: 4;
|
|
7047
|
+
readonly type: "i32";
|
|
7048
|
+
};
|
|
7049
|
+
readonly width: {
|
|
7050
|
+
readonly offset: 16;
|
|
7051
|
+
readonly size: 4;
|
|
7052
|
+
readonly alignment: 4;
|
|
7053
|
+
readonly type: "u32";
|
|
7054
|
+
};
|
|
7055
|
+
readonly count: {
|
|
7056
|
+
readonly offset: 20;
|
|
7057
|
+
readonly size: 4;
|
|
7058
|
+
readonly alignment: 4;
|
|
7059
|
+
readonly type: "u32";
|
|
7060
|
+
};
|
|
7061
|
+
};
|
|
7062
|
+
};
|
|
5814
7063
|
};
|
|
5815
7064
|
export declare const nativeConstants: {
|
|
5816
7065
|
readonly OT_CONTEXT_ABI_VERSION: 2;
|
|
@@ -5890,6 +7139,7 @@ export declare const nativeConstants: {
|
|
|
5890
7139
|
readonly OT_STYLE_ENUM_OVERFLOW: 8;
|
|
5891
7140
|
readonly OT_STYLE_ENUM_DISPLAY: 9;
|
|
5892
7141
|
readonly OT_STYLE_ENUM_BOX_SIZING: 10;
|
|
7142
|
+
readonly OT_STYLE_ENUM_LAYOUT_MODE: 11;
|
|
5893
7143
|
readonly OT_STYLE_FLOAT_FLEX: 0;
|
|
5894
7144
|
readonly OT_STYLE_FLOAT_FLEX_GROW: 1;
|
|
5895
7145
|
readonly OT_STYLE_FLOAT_FLEX_SHRINK: 2;
|
|
@@ -5959,6 +7209,24 @@ export declare const nativeConstants: {
|
|
|
5959
7209
|
readonly OT_DISPLAY_NONE: 1;
|
|
5960
7210
|
readonly OT_BOX_SIZING_BORDER_BOX: 0;
|
|
5961
7211
|
readonly OT_BOX_SIZING_CONTENT_BOX: 1;
|
|
7212
|
+
readonly OT_LAYOUT_MODE_FLEX: 0;
|
|
7213
|
+
readonly OT_LAYOUT_MODE_LIST: 1;
|
|
7214
|
+
readonly OT_DISPLAY_CONTENTS: 2;
|
|
7215
|
+
readonly OT_YOGA_ERRATA_NONE: 0;
|
|
7216
|
+
readonly OT_YOGA_ERRATA_STRETCH_FLEX_BASIS: 1;
|
|
7217
|
+
readonly OT_YOGA_ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING: 2;
|
|
7218
|
+
readonly OT_YOGA_ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE: 4;
|
|
7219
|
+
readonly OT_YOGA_ERRATA_ALL: 2147483647;
|
|
7220
|
+
readonly OT_YOGA_ERRATA_CLASSIC: 2147483646;
|
|
7221
|
+
readonly OT_YOGA_EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: 0;
|
|
7222
|
+
readonly OT_YOGA_LOG_LEVEL_ERROR: 0;
|
|
7223
|
+
readonly OT_YOGA_LOG_LEVEL_WARN: 1;
|
|
7224
|
+
readonly OT_YOGA_LOG_LEVEL_INFO: 2;
|
|
7225
|
+
readonly OT_YOGA_LOG_LEVEL_DEBUG: 3;
|
|
7226
|
+
readonly OT_YOGA_LOG_LEVEL_VERBOSE: 4;
|
|
7227
|
+
readonly OT_YOGA_LOG_LEVEL_FATAL: 5;
|
|
7228
|
+
readonly OT_YOGA_NODE_TYPE_DEFAULT: 0;
|
|
7229
|
+
readonly OT_YOGA_NODE_TYPE_TEXT: 1;
|
|
5962
7230
|
readonly OT_STYLE_ENUM_DIRECTION_MAX: 2;
|
|
5963
7231
|
readonly OT_STYLE_ENUM_FLEX_DIRECTION_MAX: 3;
|
|
5964
7232
|
readonly OT_STYLE_ENUM_JUSTIFY_CONTENT_MAX: 5;
|
|
@@ -5970,12 +7238,14 @@ export declare const nativeConstants: {
|
|
|
5970
7238
|
readonly OT_STYLE_ENUM_OVERFLOW_MAX: 2;
|
|
5971
7239
|
readonly OT_STYLE_ENUM_DISPLAY_MAX: 1;
|
|
5972
7240
|
readonly OT_STYLE_ENUM_BOX_SIZING_MAX: 1;
|
|
7241
|
+
readonly OT_STYLE_ENUM_LAYOUT_MODE_MAX: 1;
|
|
5973
7242
|
readonly OT_MEASURE_UNDEFINED: 0;
|
|
5974
7243
|
readonly OT_MEASURE_EXACTLY: 1;
|
|
5975
7244
|
readonly OT_MEASURE_AT_MOST: 2;
|
|
5976
7245
|
readonly OT_LAYOUT_PUBLIC: 0;
|
|
5977
7246
|
readonly OT_LAYOUT_YOGA: 1;
|
|
5978
7247
|
readonly OT_LAYOUT_PAINT: 2;
|
|
7248
|
+
readonly OT_LAYOUT_CONTENT: 3;
|
|
5979
7249
|
readonly OT_BORDER_NONE: 0;
|
|
5980
7250
|
readonly OT_BORDER_LEFT: 1;
|
|
5981
7251
|
readonly OT_BORDER_BOTTOM: 2;
|
|
@@ -5991,9 +7261,41 @@ export declare const nativeConstants: {
|
|
|
5991
7261
|
readonly OT_COLOR_DEFAULT: 2;
|
|
5992
7262
|
readonly OT_COLOR_CHANNEL_MASK: 255;
|
|
5993
7263
|
readonly OT_COLOR_META_SHIFT: 8;
|
|
7264
|
+
readonly OT_COLOR_ANSI_0: 0;
|
|
7265
|
+
readonly OT_COLOR_ANSI_1: 8388608;
|
|
7266
|
+
readonly OT_COLOR_ANSI_2: 32768;
|
|
7267
|
+
readonly OT_COLOR_ANSI_3: 8421376;
|
|
7268
|
+
readonly OT_COLOR_ANSI_4: 128;
|
|
7269
|
+
readonly OT_COLOR_ANSI_5: 8388736;
|
|
7270
|
+
readonly OT_COLOR_ANSI_6: 32896;
|
|
7271
|
+
readonly OT_COLOR_ANSI_7: 12632256;
|
|
7272
|
+
readonly OT_COLOR_ANSI_8: 8421504;
|
|
7273
|
+
readonly OT_COLOR_ANSI_9: 16711680;
|
|
7274
|
+
readonly OT_COLOR_ANSI_10: 65280;
|
|
7275
|
+
readonly OT_COLOR_ANSI_11: 16776960;
|
|
7276
|
+
readonly OT_COLOR_ANSI_12: 255;
|
|
7277
|
+
readonly OT_COLOR_ANSI_13: 16711935;
|
|
7278
|
+
readonly OT_COLOR_ANSI_14: 65535;
|
|
7279
|
+
readonly OT_COLOR_ANSI_15: 16777215;
|
|
7280
|
+
readonly OT_COLOR_CUBE_BASE: 55;
|
|
7281
|
+
readonly OT_COLOR_CUBE_STEP: 40;
|
|
7282
|
+
readonly OT_COLOR_GRAY_BASE: 8;
|
|
7283
|
+
readonly OT_COLOR_GRAY_STEP: 10;
|
|
7284
|
+
readonly OT_ATTR_BOLD: 1;
|
|
7285
|
+
readonly OT_ATTR_DIM: 2;
|
|
7286
|
+
readonly OT_ATTR_ITALIC: 4;
|
|
7287
|
+
readonly OT_ATTR_UNDERLINE: 8;
|
|
7288
|
+
readonly OT_ATTR_BLINK: 16;
|
|
7289
|
+
readonly OT_ATTR_INVERSE: 32;
|
|
7290
|
+
readonly OT_ATTR_HIDDEN: 64;
|
|
7291
|
+
readonly OT_ATTR_STRIKETHROUGH: 128;
|
|
7292
|
+
readonly OT_ATTR_BASE_MASK: 255;
|
|
7293
|
+
readonly OT_ATTR_LINK_SHIFT: 8;
|
|
7294
|
+
readonly OT_ATTR_LINK_MASK: 16777215;
|
|
5994
7295
|
readonly OT_SCENE_TEXT_SELECTION_RESET: 0;
|
|
5995
7296
|
readonly OT_SCENE_TEXT_SELECTION_SET: 1;
|
|
5996
7297
|
readonly OT_SCENE_TEXT_SELECTION_UPDATE: 2;
|
|
7298
|
+
readonly OT_SCENE_TEXT_SELECTION_COLORS: 3;
|
|
5997
7299
|
readonly OT_SCENE_TEXT_SELECTION_CELL: 0;
|
|
5998
7300
|
readonly OT_SCENE_TEXT_SELECTION_WORD: 1;
|
|
5999
7301
|
readonly OT_SCENE_TEXT_SELECTION_LINE: 2;
|
|
@@ -6010,6 +7312,10 @@ export declare const nativeConstants: {
|
|
|
6010
7312
|
readonly OT_SCENE_FULL_PATH_UNRETAINED: 16;
|
|
6011
7313
|
readonly OT_SCENE_FULL_PATH_OPTIONS: 32;
|
|
6012
7314
|
readonly OT_SCENE_FULL_PATH_NON_LOCAL: 64;
|
|
7315
|
+
readonly OT_CURSOR_STYLE_BLOCK: 0;
|
|
7316
|
+
readonly OT_CURSOR_STYLE_LINE: 1;
|
|
7317
|
+
readonly OT_CURSOR_STYLE_UNDERLINE: 2;
|
|
7318
|
+
readonly OT_CURSOR_STYLE_DEFAULT: 3;
|
|
6013
7319
|
readonly OT_SCENE_HOOK_UPDATE: 1;
|
|
6014
7320
|
readonly OT_SCENE_HOOK_RESIZE: 2;
|
|
6015
7321
|
readonly OT_SCENE_HOOK_LAYOUT_CHANGED: 4;
|
|
@@ -6065,6 +7371,7 @@ export declare const nativeConstants: {
|
|
|
6065
7371
|
readonly OT_SCENE_SCROLL_ALIGN_NEAREST: 0;
|
|
6066
7372
|
readonly OT_SCENE_SCROLL_ALIGN_START: 1;
|
|
6067
7373
|
readonly OT_SCENE_SCROLL_ALIGN_END: 2;
|
|
7374
|
+
readonly OT_SCENE_SCROLL_PADDING_MAX: 65535;
|
|
6068
7375
|
readonly OT_SCENE_SCROLL_CHANGED_OFFSET_X: 1;
|
|
6069
7376
|
readonly OT_SCENE_SCROLL_CHANGED_OFFSET_Y: 2;
|
|
6070
7377
|
readonly OT_SCENE_SCROLL_CHANGED_CONTENT: 4;
|
|
@@ -6086,6 +7393,7 @@ export declare const nativeConstants: {
|
|
|
6086
7393
|
readonly OT_RENDER_PENDING: 1;
|
|
6087
7394
|
readonly OT_RENDER_SKIPPED: 2;
|
|
6088
7395
|
readonly OT_RENDER_FAILED: 3;
|
|
7396
|
+
readonly OT_SPLIT_SNAPSHOTS_MAX: 64;
|
|
6089
7397
|
readonly OT_SESSION_BUFFER_CURRENT: 0;
|
|
6090
7398
|
readonly OT_SESSION_BUFFER_NEXT: 1;
|
|
6091
7399
|
readonly OT_WIDTH_METHOD_WCWIDTH: 0;
|
|
@@ -6093,10 +7401,38 @@ export declare const nativeConstants: {
|
|
|
6093
7401
|
readonly OT_WIDTH_METHOD_NO_ZWJ: 2;
|
|
6094
7402
|
readonly OT_WIDTH_METHOD_UNICODE_WIDE: 3;
|
|
6095
7403
|
readonly OT_BUFFER_RESPECT_ALPHA: 1;
|
|
7404
|
+
readonly OT_EMBEDDED_TERMINAL_CURSOR_BAR: 0;
|
|
7405
|
+
readonly OT_EMBEDDED_TERMINAL_CURSOR_BLOCK: 1;
|
|
7406
|
+
readonly OT_EMBEDDED_TERMINAL_CURSOR_UNDERLINE: 2;
|
|
7407
|
+
readonly OT_EMBEDDED_TERMINAL_CURSOR_BLOCK_HOLLOW: 3;
|
|
7408
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_SHIFT: 1;
|
|
7409
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_CTRL: 2;
|
|
7410
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_ALT: 4;
|
|
7411
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_SUPER: 8;
|
|
7412
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_CAPS_LOCK: 16;
|
|
7413
|
+
readonly OT_EMBEDDED_TERMINAL_MOD_NUM_LOCK: 32;
|
|
7414
|
+
readonly OT_EMBEDDED_TERMINAL_KEY_RELEASE: 0;
|
|
7415
|
+
readonly OT_EMBEDDED_TERMINAL_KEY_PRESS: 1;
|
|
7416
|
+
readonly OT_EMBEDDED_TERMINAL_KEY_REPEAT: 2;
|
|
7417
|
+
readonly OT_EMBEDDED_TERMINAL_MOUSE_PRESS: 0;
|
|
7418
|
+
readonly OT_EMBEDDED_TERMINAL_MOUSE_RELEASE: 1;
|
|
7419
|
+
readonly OT_EMBEDDED_TERMINAL_MOUSE_MOTION: 2;
|
|
7420
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_NONE: -1;
|
|
7421
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_UNKNOWN: 0;
|
|
7422
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_LEFT: 1;
|
|
7423
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_RIGHT: 2;
|
|
7424
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_MIDDLE: 3;
|
|
7425
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_FOUR: 4;
|
|
7426
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_FIVE: 5;
|
|
7427
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_SIX: 6;
|
|
7428
|
+
readonly OT_EMBEDDED_TERMINAL_BUTTON_SEVEN: 7;
|
|
7429
|
+
readonly OT_EMBEDDED_TERMINAL_INPUT_BYTES_MAX: 1048576;
|
|
6096
7430
|
readonly OT_EMBEDDED_TERMINAL_INVALIDATE: 0;
|
|
6097
7431
|
readonly OT_EMBEDDED_TERMINAL_SCROLL: 1;
|
|
6098
7432
|
readonly OT_EMBEDDED_TERMINAL_CLEAR_SELECTION: 2;
|
|
6099
7433
|
readonly OT_EMBEDDED_TERMINAL_SET_TRANSPARENT_BACKGROUND: 3;
|
|
7434
|
+
readonly OT_EMBEDDED_TERMINAL_RESPONSE_BYTES_MAX: 1048576;
|
|
7435
|
+
readonly OT_EDIT_BUFFER_FOLLOW_SESSION_WIDTH: 1;
|
|
6100
7436
|
readonly OT_EDIT_CURSOR_CHANGED: 1;
|
|
6101
7437
|
readonly OT_EDIT_CONTENT_CHANGED: 2;
|
|
6102
7438
|
readonly OT_EDIT_HISTORY_CURSOR_CHANGED: 4;
|
|
@@ -6151,6 +7487,9 @@ export declare const nativeConstants: {
|
|
|
6151
7487
|
readonly OT_EDIT_CLEAR: 10;
|
|
6152
7488
|
readonly OT_EDIT_CLEAR_HISTORY: 11;
|
|
6153
7489
|
readonly OT_EDIT_DEBUG_ROPE: 12;
|
|
7490
|
+
readonly OT_EDIT_CURSOR_OFFSET_ATOMIC: 13;
|
|
7491
|
+
readonly OT_EDIT_KEEP_OUTSIDE: 14;
|
|
7492
|
+
readonly OT_EDIT_ATOMIC: 1;
|
|
6154
7493
|
readonly OT_EDIT_POSITION_CURSOR: 0;
|
|
6155
7494
|
readonly OT_EDIT_POSITION_NEXT_WORD: 1;
|
|
6156
7495
|
readonly OT_EDIT_POSITION_PREV_WORD: 2;
|
|
@@ -6160,15 +7499,60 @@ export declare const nativeConstants: {
|
|
|
6160
7499
|
readonly OT_EDIT_POSITION_LINE_START: 6;
|
|
6161
7500
|
readonly OT_EDIT_POSITION_END: 7;
|
|
6162
7501
|
readonly OT_EDIT_POSITION_PREV_CHAR: 8;
|
|
7502
|
+
readonly OT_EDIT_BYTE_TO_CELL: 0;
|
|
7503
|
+
readonly OT_EDIT_CELL_TO_BYTE: 1;
|
|
7504
|
+
readonly OT_EDIT_UTF16_TO_CELL: 2;
|
|
7505
|
+
readonly OT_EDIT_CELL_TO_UTF16: 3;
|
|
6163
7506
|
readonly OT_EDITOR_STYLE_FOREGROUND: 1;
|
|
6164
7507
|
readonly OT_EDITOR_STYLE_BACKGROUND: 2;
|
|
6165
7508
|
readonly OT_EDITOR_STYLE_ATTRIBUTES: 4;
|
|
7509
|
+
readonly OT_EDITOR_STYLE_ATTRIBUTE_MASK: 8;
|
|
6166
7510
|
readonly OT_EDIT_HIGHLIGHT_ADD_LINE: 0;
|
|
6167
7511
|
readonly OT_EDIT_HIGHLIGHT_ADD_RANGE: 1;
|
|
6168
7512
|
readonly OT_EDIT_HIGHLIGHT_REMOVE_REF: 2;
|
|
6169
7513
|
readonly OT_EDIT_HIGHLIGHT_CLEAR_LINE: 3;
|
|
6170
7514
|
readonly OT_EDIT_HIGHLIGHT_CLEAR_ALL: 4;
|
|
6171
7515
|
readonly OT_STYLE_RUN_FLAG: 2147483648;
|
|
7516
|
+
readonly OT_GROUP_SET_NAME_COUNT_MAX: 16;
|
|
7517
|
+
readonly OT_GROUP_SET_NAME_BYTE_COUNT_MAX: 64;
|
|
7518
|
+
readonly OT_EDIT_MARK_ADD: 0;
|
|
7519
|
+
readonly OT_EDIT_MARK_REMOVE: 1;
|
|
7520
|
+
readonly OT_EDIT_MARK_CLEAR: 2;
|
|
7521
|
+
readonly OT_EDIT_MARK_ATOMIC: 1;
|
|
7522
|
+
readonly OT_EDIT_MARK_STYLE_VALUE: 2;
|
|
7523
|
+
readonly OT_EDIT_MARK_ANY_KIND: 4294967295;
|
|
7524
|
+
readonly OT_MD_CONCEAL: 1;
|
|
7525
|
+
readonly OT_MD_HYPERLINKS: 2;
|
|
7526
|
+
readonly OT_MD_MATH: 4;
|
|
7527
|
+
readonly OT_MD_HOOK: 8;
|
|
7528
|
+
readonly OT_MD_HOOK_FILTER_BYTE_COUNT_MAX: 256;
|
|
7529
|
+
readonly OT_MD_PARAGRAPH: 0;
|
|
7530
|
+
readonly OT_MD_HEADING: 1;
|
|
7531
|
+
readonly OT_MD_CODE: 2;
|
|
7532
|
+
readonly OT_MD_HTML: 3;
|
|
7533
|
+
readonly OT_MD_RULE: 4;
|
|
7534
|
+
readonly OT_MD_TABLE: 5;
|
|
7535
|
+
readonly OT_MD_TABLE_ROW: 6;
|
|
7536
|
+
readonly OT_MD_TABLE_CELL: 7;
|
|
7537
|
+
readonly OT_MD_QUOTE: 8;
|
|
7538
|
+
readonly OT_MD_LIST: 9;
|
|
7539
|
+
readonly OT_MD_ITEM: 10;
|
|
7540
|
+
readonly OT_MD_BLOCK_CLOSED: 1;
|
|
7541
|
+
readonly OT_MD_BLOCK_SETEXT: 2;
|
|
7542
|
+
readonly OT_MD_BLOCK_ORDERED: 4;
|
|
7543
|
+
readonly OT_MD_BLOCK_TIGHT: 8;
|
|
7544
|
+
readonly OT_MD_BLOCK_TASK: 16;
|
|
7545
|
+
readonly OT_MD_BLOCK_CHECKED: 32;
|
|
7546
|
+
readonly OT_MD_BLOCK_BLANK_AFTER: 64;
|
|
7547
|
+
readonly OT_MD_BLOCK_FENCED: 128;
|
|
7548
|
+
readonly OT_MD_BLOCK_HOOKED: 256;
|
|
7549
|
+
readonly OT_MD_BLOCK_MATH: 512;
|
|
7550
|
+
readonly OT_MD_BLOCK_HEADER: 1024;
|
|
7551
|
+
readonly OT_MD_BLOCK_OPEN: 2048;
|
|
7552
|
+
readonly OT_MD_BLOCK_ALIGN_LEFT: 4096;
|
|
7553
|
+
readonly OT_MD_BLOCK_ALIGN_RIGHT: 8192;
|
|
7554
|
+
readonly OT_MD_SPAN_CODE: 1;
|
|
7555
|
+
readonly OT_MD_SPAN_MATH: 2;
|
|
6172
7556
|
readonly OT_EDITOR_MOVE_UP: 0;
|
|
6173
7557
|
readonly OT_EDITOR_MOVE_DOWN: 1;
|
|
6174
7558
|
readonly OT_EDITOR_GOTO_LINE_END: 2;
|
|
@@ -6212,6 +7596,7 @@ export declare const nativeConstants: {
|
|
|
6212
7596
|
readonly OT_IMAGE_PROTOCOL_BLOCKS: 3;
|
|
6213
7597
|
readonly OT_IMAGE_DRAW_SOURCE_WIDTH: 1;
|
|
6214
7598
|
readonly OT_IMAGE_DRAW_SOURCE_HEIGHT: 2;
|
|
7599
|
+
readonly OT_IMAGE_ENCODED_BYTES_MAX: 67108864;
|
|
6215
7600
|
readonly OT_IMAGE_FORMAT_UNKNOWN: 0;
|
|
6216
7601
|
readonly OT_IMAGE_FORMAT_PNG: 1;
|
|
6217
7602
|
readonly OT_IMAGE_FORMAT_RGBA: 2;
|
|
@@ -6281,6 +7666,10 @@ export declare const nativeConstants: {
|
|
|
6281
7666
|
readonly OT_BUFFER_STACK_CLEAR_OPACITY: 6;
|
|
6282
7667
|
readonly OT_BUFFER_GRID_INNER: 1;
|
|
6283
7668
|
readonly OT_BUFFER_GRID_OUTER: 2;
|
|
7669
|
+
readonly OT_CELL_CHAR_KIND_MASK: 3221225472;
|
|
7670
|
+
readonly OT_CELL_CHAR_IMAGE: 1073741824;
|
|
7671
|
+
readonly OT_CELL_CHAR_GRAPHEME: 2147483648;
|
|
7672
|
+
readonly OT_CELL_CHAR_CONTINUATION: 3221225472;
|
|
6284
7673
|
readonly OT_SESSION_CONTROL_PACKET_BYTES: 4096;
|
|
6285
7674
|
readonly OT_TERMINAL_ALTERNATE_SCREEN: 1;
|
|
6286
7675
|
readonly OT_TERMINAL_MOUSE: 2;
|
|
@@ -6290,6 +7679,12 @@ export declare const nativeConstants: {
|
|
|
6290
7679
|
readonly OT_TERMINAL_SYNC_ALWAYS: 32;
|
|
6291
7680
|
readonly OT_TERMINAL_SYNC_NEVER: 64;
|
|
6292
7681
|
readonly OT_TERMINAL_HOST_MULTIPLEXER: 128;
|
|
7682
|
+
readonly OT_KITTY_KEYBOARD_DISAMBIGUATE: 1;
|
|
7683
|
+
readonly OT_KITTY_KEYBOARD_EVENT_TYPES: 2;
|
|
7684
|
+
readonly OT_KITTY_KEYBOARD_ALTERNATE_KEYS: 4;
|
|
7685
|
+
readonly OT_KITTY_KEYBOARD_ALL_KEYS_AS_ESCAPES: 8;
|
|
7686
|
+
readonly OT_KITTY_KEYBOARD_REPORT_TEXT: 16;
|
|
7687
|
+
readonly OT_KITTY_KEYBOARD_ALL: 31;
|
|
6293
7688
|
readonly OT_CONTROL_CAPABILITY_RESPONSE: 1;
|
|
6294
7689
|
readonly OT_CONTROL_TITLE: 2;
|
|
6295
7690
|
readonly OT_CONTROL_MOUSE: 3;
|
|
@@ -6301,6 +7696,7 @@ export declare const nativeConstants: {
|
|
|
6301
7696
|
readonly OT_CONTROL_RESET_BACKGROUND: 9;
|
|
6302
7697
|
readonly OT_CONTROL_PALETTE_QUERY: 10;
|
|
6303
7698
|
readonly OT_CONTROL_PROGRAM_STATUS: 11;
|
|
7699
|
+
readonly OT_CONTROL_END_REPLY_SENTINEL: 12;
|
|
6304
7700
|
readonly OT_CURSOR_POSITION: 1;
|
|
6305
7701
|
readonly OT_CURSOR_STYLE: 2;
|
|
6306
7702
|
readonly OT_CURSOR_BLINKING: 4;
|
|
@@ -6461,11 +7857,13 @@ export declare const nativeConstants: {
|
|
|
6461
7857
|
readonly OT_INPUT_EXPECT_KITTY_KEYBOARD: 2;
|
|
6462
7858
|
readonly OT_INPUT_EXPECT_CURSOR_POSITION: 4;
|
|
6463
7859
|
readonly OT_INPUT_EXPECT_SENTINEL: 8;
|
|
7860
|
+
readonly OT_INPUT_EXPECT_ESCAPE_PREFIX: 16;
|
|
6464
7861
|
readonly OT_INPUT_EVENTS_MIN: 4;
|
|
6465
7862
|
readonly OT_INPUT_PAYLOAD_BYTES_MIN: 4384;
|
|
6466
7863
|
readonly OT_INPUT_TIMEOUT_NS: 20000000;
|
|
6467
7864
|
readonly OT_DIAGNOSTIC_MESSAGE_BYTES: 4096;
|
|
6468
7865
|
readonly OT_DIAGNOSTIC_TRUNCATED: 1;
|
|
7866
|
+
readonly OT_DIAGNOSTIC_QUEUE_MAX: 64;
|
|
6469
7867
|
readonly OT_SCENE_RECORD_BYTES_MAX: 67108864;
|
|
6470
7868
|
readonly OT_SCENE_RECORD_PHASE_BEFORE: 0;
|
|
6471
7869
|
readonly OT_SCENE_RECORD_PHASE_SELF: 1;
|
|
@@ -6483,6 +7881,7 @@ export declare const nativeConstants: {
|
|
|
6483
7881
|
readonly OT_SCENE_RECORD_SCENE_BODY: 10;
|
|
6484
7882
|
readonly OT_SCENE_RECORD_IMAGE: 11;
|
|
6485
7883
|
readonly OT_SCENE_RECORD_UNICODE: 12;
|
|
7884
|
+
readonly OT_SCENE_RECORD_CELLS: 13;
|
|
6486
7885
|
readonly OT_SCENE_RECORD_GRAYSCALE_FOREGROUND: 1;
|
|
6487
7886
|
readonly OT_SCENE_RECORD_GRAYSCALE_BACKGROUND: 2;
|
|
6488
7887
|
readonly OT_SCENE_RECORD_GRAYSCALE_SUPERSAMPLED: 4;
|