blit-browser 0.2.2
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/blit_browser.d.ts +114 -0
- package/blit_browser.js +660 -0
- package/blit_browser_bg.wasm +0 -0
- package/blit_browser_bg.wasm.d.ts +45 -0
- package/package.json +13 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
export class Terminal {
|
|
5
|
+
free(): void;
|
|
6
|
+
[Symbol.dispose](): void;
|
|
7
|
+
app_cursor(): boolean;
|
|
8
|
+
background_ops(): Uint32Array;
|
|
9
|
+
bracketed_paste(): boolean;
|
|
10
|
+
cursor_visible(): boolean;
|
|
11
|
+
echo(): boolean;
|
|
12
|
+
feed_compressed(data: Uint8Array): void;
|
|
13
|
+
feed_compressed_batch(batch: Uint8Array): void;
|
|
14
|
+
get_html(start_row: number, start_col: number, end_row: number, end_col: number): string;
|
|
15
|
+
get_text(start_row: number, start_col: number, end_row: number, end_col: number): string;
|
|
16
|
+
glyph_atlas_canvas(): HTMLCanvasElement | undefined;
|
|
17
|
+
glyph_atlas_version(): number;
|
|
18
|
+
glyph_ops(): Uint32Array;
|
|
19
|
+
icanon(): boolean;
|
|
20
|
+
invalidate_render_cache(): void;
|
|
21
|
+
last_render_damage_col_end(): number;
|
|
22
|
+
last_render_damage_col_start(): number;
|
|
23
|
+
last_render_damage_row_end(): number;
|
|
24
|
+
last_render_damage_row_start(): number;
|
|
25
|
+
last_render_full(): boolean;
|
|
26
|
+
last_render_scroll_rows(): number;
|
|
27
|
+
mouse_encoding(): number;
|
|
28
|
+
mouse_mode(): number;
|
|
29
|
+
constructor(rows: number, cols: number, cell_width: number, cell_height: number);
|
|
30
|
+
overflow_text_count(): number;
|
|
31
|
+
/**
|
|
32
|
+
* Returns overflow text op at index: (row, col, col_span, text).
|
|
33
|
+
*/
|
|
34
|
+
overflow_text_op(index: number): any;
|
|
35
|
+
prepare_full_render_ops(): void;
|
|
36
|
+
prepare_render_ops(): void;
|
|
37
|
+
set_cell_size(cell_width: number, cell_height: number): void;
|
|
38
|
+
set_font_family(font_family: string): void;
|
|
39
|
+
title(): string;
|
|
40
|
+
readonly cols: number;
|
|
41
|
+
readonly cursor_col: number;
|
|
42
|
+
readonly cursor_row: number;
|
|
43
|
+
readonly rows: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
47
|
+
|
|
48
|
+
export interface InitOutput {
|
|
49
|
+
readonly memory: WebAssembly.Memory;
|
|
50
|
+
readonly __wbg_terminal_free: (a: number, b: number) => void;
|
|
51
|
+
readonly terminal_app_cursor: (a: number) => number;
|
|
52
|
+
readonly terminal_background_ops: (a: number) => [number, number];
|
|
53
|
+
readonly terminal_bracketed_paste: (a: number) => number;
|
|
54
|
+
readonly terminal_cols: (a: number) => number;
|
|
55
|
+
readonly terminal_cursor_col: (a: number) => number;
|
|
56
|
+
readonly terminal_cursor_row: (a: number) => number;
|
|
57
|
+
readonly terminal_cursor_visible: (a: number) => number;
|
|
58
|
+
readonly terminal_echo: (a: number) => number;
|
|
59
|
+
readonly terminal_feed_compressed: (a: number, b: number, c: number) => void;
|
|
60
|
+
readonly terminal_feed_compressed_batch: (a: number, b: number, c: number) => void;
|
|
61
|
+
readonly terminal_get_html: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
62
|
+
readonly terminal_get_text: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
63
|
+
readonly terminal_glyph_atlas_canvas: (a: number) => any;
|
|
64
|
+
readonly terminal_glyph_atlas_version: (a: number) => number;
|
|
65
|
+
readonly terminal_glyph_ops: (a: number) => [number, number];
|
|
66
|
+
readonly terminal_icanon: (a: number) => number;
|
|
67
|
+
readonly terminal_invalidate_render_cache: (a: number) => void;
|
|
68
|
+
readonly terminal_last_render_damage_col_end: (a: number) => number;
|
|
69
|
+
readonly terminal_last_render_damage_col_start: (a: number) => number;
|
|
70
|
+
readonly terminal_last_render_damage_row_end: (a: number) => number;
|
|
71
|
+
readonly terminal_last_render_damage_row_start: (a: number) => number;
|
|
72
|
+
readonly terminal_last_render_full: (a: number) => number;
|
|
73
|
+
readonly terminal_last_render_scroll_rows: (a: number) => number;
|
|
74
|
+
readonly terminal_mouse_encoding: (a: number) => number;
|
|
75
|
+
readonly terminal_mouse_mode: (a: number) => number;
|
|
76
|
+
readonly terminal_new: (a: number, b: number, c: number, d: number) => number;
|
|
77
|
+
readonly terminal_overflow_text_count: (a: number) => number;
|
|
78
|
+
readonly terminal_overflow_text_op: (a: number, b: number) => any;
|
|
79
|
+
readonly terminal_prepare_full_render_ops: (a: number) => void;
|
|
80
|
+
readonly terminal_prepare_render_ops: (a: number) => void;
|
|
81
|
+
readonly terminal_rows: (a: number) => number;
|
|
82
|
+
readonly terminal_set_cell_size: (a: number, b: number, c: number) => void;
|
|
83
|
+
readonly terminal_set_font_family: (a: number, b: number, c: number) => void;
|
|
84
|
+
readonly terminal_title: (a: number) => [number, number];
|
|
85
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
|
86
|
+
readonly __externref_table_alloc: () => number;
|
|
87
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
88
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
89
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
90
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
91
|
+
readonly __wbindgen_start: () => void;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Instantiates the given `module`, which can either be bytes or
|
|
98
|
+
* a precompiled `WebAssembly.Module`.
|
|
99
|
+
*
|
|
100
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
101
|
+
*
|
|
102
|
+
* @returns {InitOutput}
|
|
103
|
+
*/
|
|
104
|
+
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
108
|
+
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
109
|
+
*
|
|
110
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
111
|
+
*
|
|
112
|
+
* @returns {Promise<InitOutput>}
|
|
113
|
+
*/
|
|
114
|
+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|
package/blit_browser.js
ADDED
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
/* @ts-self-types="./blit_browser.d.ts" */
|
|
2
|
+
import { blitFillTextCodePoint } from './snippets/blit-browser-3cf46cd3055f488b/inline0.js';
|
|
3
|
+
|
|
4
|
+
export class Terminal {
|
|
5
|
+
__destroy_into_raw() {
|
|
6
|
+
const ptr = this.__wbg_ptr;
|
|
7
|
+
this.__wbg_ptr = 0;
|
|
8
|
+
TerminalFinalization.unregister(this);
|
|
9
|
+
return ptr;
|
|
10
|
+
}
|
|
11
|
+
free() {
|
|
12
|
+
const ptr = this.__destroy_into_raw();
|
|
13
|
+
wasm.__wbg_terminal_free(ptr, 0);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @returns {boolean}
|
|
17
|
+
*/
|
|
18
|
+
app_cursor() {
|
|
19
|
+
const ret = wasm.terminal_app_cursor(this.__wbg_ptr);
|
|
20
|
+
return ret !== 0;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @returns {Uint32Array}
|
|
24
|
+
*/
|
|
25
|
+
background_ops() {
|
|
26
|
+
const ret = wasm.terminal_background_ops(this.__wbg_ptr);
|
|
27
|
+
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
28
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
29
|
+
return v1;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @returns {boolean}
|
|
33
|
+
*/
|
|
34
|
+
bracketed_paste() {
|
|
35
|
+
const ret = wasm.terminal_bracketed_paste(this.__wbg_ptr);
|
|
36
|
+
return ret !== 0;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @returns {number}
|
|
40
|
+
*/
|
|
41
|
+
get cols() {
|
|
42
|
+
const ret = wasm.terminal_cols(this.__wbg_ptr);
|
|
43
|
+
return ret;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @returns {number}
|
|
47
|
+
*/
|
|
48
|
+
get cursor_col() {
|
|
49
|
+
const ret = wasm.terminal_cursor_col(this.__wbg_ptr);
|
|
50
|
+
return ret;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @returns {number}
|
|
54
|
+
*/
|
|
55
|
+
get cursor_row() {
|
|
56
|
+
const ret = wasm.terminal_cursor_row(this.__wbg_ptr);
|
|
57
|
+
return ret;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @returns {boolean}
|
|
61
|
+
*/
|
|
62
|
+
cursor_visible() {
|
|
63
|
+
const ret = wasm.terminal_cursor_visible(this.__wbg_ptr);
|
|
64
|
+
return ret !== 0;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @returns {boolean}
|
|
68
|
+
*/
|
|
69
|
+
echo() {
|
|
70
|
+
const ret = wasm.terminal_echo(this.__wbg_ptr);
|
|
71
|
+
return ret !== 0;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @param {Uint8Array} data
|
|
75
|
+
*/
|
|
76
|
+
feed_compressed(data) {
|
|
77
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
78
|
+
const len0 = WASM_VECTOR_LEN;
|
|
79
|
+
wasm.terminal_feed_compressed(this.__wbg_ptr, ptr0, len0);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @param {Uint8Array} batch
|
|
83
|
+
*/
|
|
84
|
+
feed_compressed_batch(batch) {
|
|
85
|
+
const ptr0 = passArray8ToWasm0(batch, wasm.__wbindgen_malloc);
|
|
86
|
+
const len0 = WASM_VECTOR_LEN;
|
|
87
|
+
wasm.terminal_feed_compressed_batch(this.__wbg_ptr, ptr0, len0);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @param {number} start_row
|
|
91
|
+
* @param {number} start_col
|
|
92
|
+
* @param {number} end_row
|
|
93
|
+
* @param {number} end_col
|
|
94
|
+
* @returns {string}
|
|
95
|
+
*/
|
|
96
|
+
get_html(start_row, start_col, end_row, end_col) {
|
|
97
|
+
let deferred1_0;
|
|
98
|
+
let deferred1_1;
|
|
99
|
+
try {
|
|
100
|
+
const ret = wasm.terminal_get_html(this.__wbg_ptr, start_row, start_col, end_row, end_col);
|
|
101
|
+
deferred1_0 = ret[0];
|
|
102
|
+
deferred1_1 = ret[1];
|
|
103
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
104
|
+
} finally {
|
|
105
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @param {number} start_row
|
|
110
|
+
* @param {number} start_col
|
|
111
|
+
* @param {number} end_row
|
|
112
|
+
* @param {number} end_col
|
|
113
|
+
* @returns {string}
|
|
114
|
+
*/
|
|
115
|
+
get_text(start_row, start_col, end_row, end_col) {
|
|
116
|
+
let deferred1_0;
|
|
117
|
+
let deferred1_1;
|
|
118
|
+
try {
|
|
119
|
+
const ret = wasm.terminal_get_text(this.__wbg_ptr, start_row, start_col, end_row, end_col);
|
|
120
|
+
deferred1_0 = ret[0];
|
|
121
|
+
deferred1_1 = ret[1];
|
|
122
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
123
|
+
} finally {
|
|
124
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* @returns {HTMLCanvasElement | undefined}
|
|
129
|
+
*/
|
|
130
|
+
glyph_atlas_canvas() {
|
|
131
|
+
const ret = wasm.terminal_glyph_atlas_canvas(this.__wbg_ptr);
|
|
132
|
+
return ret;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @returns {number}
|
|
136
|
+
*/
|
|
137
|
+
glyph_atlas_version() {
|
|
138
|
+
const ret = wasm.terminal_glyph_atlas_version(this.__wbg_ptr);
|
|
139
|
+
return ret >>> 0;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @returns {Uint32Array}
|
|
143
|
+
*/
|
|
144
|
+
glyph_ops() {
|
|
145
|
+
const ret = wasm.terminal_glyph_ops(this.__wbg_ptr);
|
|
146
|
+
var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
|
|
147
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
148
|
+
return v1;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @returns {boolean}
|
|
152
|
+
*/
|
|
153
|
+
icanon() {
|
|
154
|
+
const ret = wasm.terminal_icanon(this.__wbg_ptr);
|
|
155
|
+
return ret !== 0;
|
|
156
|
+
}
|
|
157
|
+
invalidate_render_cache() {
|
|
158
|
+
wasm.terminal_invalidate_render_cache(this.__wbg_ptr);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @returns {number}
|
|
162
|
+
*/
|
|
163
|
+
last_render_damage_col_end() {
|
|
164
|
+
const ret = wasm.terminal_last_render_damage_col_end(this.__wbg_ptr);
|
|
165
|
+
return ret;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @returns {number}
|
|
169
|
+
*/
|
|
170
|
+
last_render_damage_col_start() {
|
|
171
|
+
const ret = wasm.terminal_last_render_damage_col_start(this.__wbg_ptr);
|
|
172
|
+
return ret;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @returns {number}
|
|
176
|
+
*/
|
|
177
|
+
last_render_damage_row_end() {
|
|
178
|
+
const ret = wasm.terminal_last_render_damage_row_end(this.__wbg_ptr);
|
|
179
|
+
return ret;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @returns {number}
|
|
183
|
+
*/
|
|
184
|
+
last_render_damage_row_start() {
|
|
185
|
+
const ret = wasm.terminal_last_render_damage_row_start(this.__wbg_ptr);
|
|
186
|
+
return ret;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @returns {boolean}
|
|
190
|
+
*/
|
|
191
|
+
last_render_full() {
|
|
192
|
+
const ret = wasm.terminal_last_render_full(this.__wbg_ptr);
|
|
193
|
+
return ret !== 0;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @returns {number}
|
|
197
|
+
*/
|
|
198
|
+
last_render_scroll_rows() {
|
|
199
|
+
const ret = wasm.terminal_last_render_scroll_rows(this.__wbg_ptr);
|
|
200
|
+
return ret;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @returns {number}
|
|
204
|
+
*/
|
|
205
|
+
mouse_encoding() {
|
|
206
|
+
const ret = wasm.terminal_mouse_encoding(this.__wbg_ptr);
|
|
207
|
+
return ret;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @returns {number}
|
|
211
|
+
*/
|
|
212
|
+
mouse_mode() {
|
|
213
|
+
const ret = wasm.terminal_mouse_mode(this.__wbg_ptr);
|
|
214
|
+
return ret;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @param {number} rows
|
|
218
|
+
* @param {number} cols
|
|
219
|
+
* @param {number} cell_width
|
|
220
|
+
* @param {number} cell_height
|
|
221
|
+
*/
|
|
222
|
+
constructor(rows, cols, cell_width, cell_height) {
|
|
223
|
+
const ret = wasm.terminal_new(rows, cols, cell_width, cell_height);
|
|
224
|
+
this.__wbg_ptr = ret >>> 0;
|
|
225
|
+
TerminalFinalization.register(this, this.__wbg_ptr, this);
|
|
226
|
+
return this;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @returns {number}
|
|
230
|
+
*/
|
|
231
|
+
overflow_text_count() {
|
|
232
|
+
const ret = wasm.terminal_overflow_text_count(this.__wbg_ptr);
|
|
233
|
+
return ret >>> 0;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Returns overflow text op at index: (row, col, col_span, text).
|
|
237
|
+
* @param {number} index
|
|
238
|
+
* @returns {any}
|
|
239
|
+
*/
|
|
240
|
+
overflow_text_op(index) {
|
|
241
|
+
const ret = wasm.terminal_overflow_text_op(this.__wbg_ptr, index);
|
|
242
|
+
return ret;
|
|
243
|
+
}
|
|
244
|
+
prepare_full_render_ops() {
|
|
245
|
+
wasm.terminal_prepare_full_render_ops(this.__wbg_ptr);
|
|
246
|
+
}
|
|
247
|
+
prepare_render_ops() {
|
|
248
|
+
wasm.terminal_prepare_render_ops(this.__wbg_ptr);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @returns {number}
|
|
252
|
+
*/
|
|
253
|
+
get rows() {
|
|
254
|
+
const ret = wasm.terminal_rows(this.__wbg_ptr);
|
|
255
|
+
return ret;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @param {number} cell_width
|
|
259
|
+
* @param {number} cell_height
|
|
260
|
+
*/
|
|
261
|
+
set_cell_size(cell_width, cell_height) {
|
|
262
|
+
wasm.terminal_set_cell_size(this.__wbg_ptr, cell_width, cell_height);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @param {string} font_family
|
|
266
|
+
*/
|
|
267
|
+
set_font_family(font_family) {
|
|
268
|
+
const ptr0 = passStringToWasm0(font_family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
269
|
+
const len0 = WASM_VECTOR_LEN;
|
|
270
|
+
wasm.terminal_set_font_family(this.__wbg_ptr, ptr0, len0);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @returns {string}
|
|
274
|
+
*/
|
|
275
|
+
title() {
|
|
276
|
+
let deferred1_0;
|
|
277
|
+
let deferred1_1;
|
|
278
|
+
try {
|
|
279
|
+
const ret = wasm.terminal_title(this.__wbg_ptr);
|
|
280
|
+
deferred1_0 = ret[0];
|
|
281
|
+
deferred1_1 = ret[1];
|
|
282
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
283
|
+
} finally {
|
|
284
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
if (Symbol.dispose) Terminal.prototype[Symbol.dispose] = Terminal.prototype.free;
|
|
289
|
+
|
|
290
|
+
function __wbg_get_imports() {
|
|
291
|
+
const import0 = {
|
|
292
|
+
__proto__: null,
|
|
293
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
294
|
+
const ret = arg0 === undefined;
|
|
295
|
+
return ret;
|
|
296
|
+
},
|
|
297
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
298
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
299
|
+
},
|
|
300
|
+
__wbg_beginPath_596efed55075dbc3: function(arg0) {
|
|
301
|
+
arg0.beginPath();
|
|
302
|
+
},
|
|
303
|
+
__wbg_blitFillTextCodePoint_802d83a445175d1b: function(arg0, arg1, arg2, arg3) {
|
|
304
|
+
blitFillTextCodePoint(arg0, arg1 >>> 0, arg2, arg3);
|
|
305
|
+
},
|
|
306
|
+
__wbg_clearRect_ea4f3d34d76f4bc5: function(arg0, arg1, arg2, arg3, arg4) {
|
|
307
|
+
arg0.clearRect(arg1, arg2, arg3, arg4);
|
|
308
|
+
},
|
|
309
|
+
__wbg_clip_3112b0bb495d0e08: function(arg0) {
|
|
310
|
+
arg0.clip();
|
|
311
|
+
},
|
|
312
|
+
__wbg_createElement_9b0aab265c549ded: function() { return handleError(function (arg0, arg1, arg2) {
|
|
313
|
+
const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
|
|
314
|
+
return ret;
|
|
315
|
+
}, arguments); },
|
|
316
|
+
__wbg_document_c0320cd4183c6d9b: function(arg0) {
|
|
317
|
+
const ret = arg0.document;
|
|
318
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
319
|
+
},
|
|
320
|
+
__wbg_getContext_f04bf8f22dcb2d53: function() { return handleError(function (arg0, arg1, arg2) {
|
|
321
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
322
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
323
|
+
}, arguments); },
|
|
324
|
+
__wbg_height_6568c4427c3b889d: function(arg0) {
|
|
325
|
+
const ret = arg0.height;
|
|
326
|
+
return ret;
|
|
327
|
+
},
|
|
328
|
+
__wbg_instanceof_CanvasRenderingContext2d_08b9d193c22fa886: function(arg0) {
|
|
329
|
+
let result;
|
|
330
|
+
try {
|
|
331
|
+
result = arg0 instanceof CanvasRenderingContext2D;
|
|
332
|
+
} catch (_) {
|
|
333
|
+
result = false;
|
|
334
|
+
}
|
|
335
|
+
const ret = result;
|
|
336
|
+
return ret;
|
|
337
|
+
},
|
|
338
|
+
__wbg_instanceof_HtmlCanvasElement_26125339f936be50: function(arg0) {
|
|
339
|
+
let result;
|
|
340
|
+
try {
|
|
341
|
+
result = arg0 instanceof HTMLCanvasElement;
|
|
342
|
+
} catch (_) {
|
|
343
|
+
result = false;
|
|
344
|
+
}
|
|
345
|
+
const ret = result;
|
|
346
|
+
return ret;
|
|
347
|
+
},
|
|
348
|
+
__wbg_instanceof_Window_23e677d2c6843922: function(arg0) {
|
|
349
|
+
let result;
|
|
350
|
+
try {
|
|
351
|
+
result = arg0 instanceof Window;
|
|
352
|
+
} catch (_) {
|
|
353
|
+
result = false;
|
|
354
|
+
}
|
|
355
|
+
const ret = result;
|
|
356
|
+
return ret;
|
|
357
|
+
},
|
|
358
|
+
__wbg_lineTo_8ea7db5b5d763030: function(arg0, arg1, arg2) {
|
|
359
|
+
arg0.lineTo(arg1, arg2);
|
|
360
|
+
},
|
|
361
|
+
__wbg_moveTo_6d04ca2f71946754: function(arg0, arg1, arg2) {
|
|
362
|
+
arg0.moveTo(arg1, arg2);
|
|
363
|
+
},
|
|
364
|
+
__wbg_new_with_length_3259a525196bd8cc: function(arg0) {
|
|
365
|
+
const ret = new Array(arg0 >>> 0);
|
|
366
|
+
return ret;
|
|
367
|
+
},
|
|
368
|
+
__wbg_rect_9fb7070ab71d27aa: function(arg0, arg1, arg2, arg3, arg4) {
|
|
369
|
+
arg0.rect(arg1, arg2, arg3, arg4);
|
|
370
|
+
},
|
|
371
|
+
__wbg_restore_ec1ece47cce5dc64: function(arg0) {
|
|
372
|
+
arg0.restore();
|
|
373
|
+
},
|
|
374
|
+
__wbg_save_c4e64a4ec29f000f: function(arg0) {
|
|
375
|
+
arg0.save();
|
|
376
|
+
},
|
|
377
|
+
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
378
|
+
arg0[arg1 >>> 0] = arg2;
|
|
379
|
+
},
|
|
380
|
+
__wbg_set_fillStyle_58417b6b548ae475: function(arg0, arg1, arg2) {
|
|
381
|
+
arg0.fillStyle = getStringFromWasm0(arg1, arg2);
|
|
382
|
+
},
|
|
383
|
+
__wbg_set_font_b038797b3573ae5e: function(arg0, arg1, arg2) {
|
|
384
|
+
arg0.font = getStringFromWasm0(arg1, arg2);
|
|
385
|
+
},
|
|
386
|
+
__wbg_set_height_b6548a01bdcb689a: function(arg0, arg1) {
|
|
387
|
+
arg0.height = arg1 >>> 0;
|
|
388
|
+
},
|
|
389
|
+
__wbg_set_strokeStyle_a5baa9565d8b6485: function(arg0, arg1, arg2) {
|
|
390
|
+
arg0.strokeStyle = getStringFromWasm0(arg1, arg2);
|
|
391
|
+
},
|
|
392
|
+
__wbg_set_textBaseline_a9304886c3f7ea50: function(arg0, arg1, arg2) {
|
|
393
|
+
arg0.textBaseline = getStringFromWasm0(arg1, arg2);
|
|
394
|
+
},
|
|
395
|
+
__wbg_set_width_c0fcaa2da53cd540: function(arg0, arg1) {
|
|
396
|
+
arg0.width = arg1 >>> 0;
|
|
397
|
+
},
|
|
398
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
399
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
400
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
401
|
+
},
|
|
402
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
403
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
404
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
405
|
+
},
|
|
406
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
407
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
408
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
409
|
+
},
|
|
410
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
411
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
412
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
413
|
+
},
|
|
414
|
+
__wbg_stroke_affa71c0888c6f31: function(arg0) {
|
|
415
|
+
arg0.stroke();
|
|
416
|
+
},
|
|
417
|
+
__wbg_width_4d6fc7fecd877217: function(arg0) {
|
|
418
|
+
const ret = arg0.width;
|
|
419
|
+
return ret;
|
|
420
|
+
},
|
|
421
|
+
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
422
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
423
|
+
const ret = arg0;
|
|
424
|
+
return ret;
|
|
425
|
+
},
|
|
426
|
+
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
427
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
428
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
429
|
+
return ret;
|
|
430
|
+
},
|
|
431
|
+
__wbindgen_init_externref_table: function() {
|
|
432
|
+
const table = wasm.__wbindgen_externrefs;
|
|
433
|
+
const offset = table.grow(4);
|
|
434
|
+
table.set(0, undefined);
|
|
435
|
+
table.set(offset + 0, undefined);
|
|
436
|
+
table.set(offset + 1, null);
|
|
437
|
+
table.set(offset + 2, true);
|
|
438
|
+
table.set(offset + 3, false);
|
|
439
|
+
},
|
|
440
|
+
};
|
|
441
|
+
return {
|
|
442
|
+
__proto__: null,
|
|
443
|
+
"./blit_browser_bg.js": import0,
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
const TerminalFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
448
|
+
? { register: () => {}, unregister: () => {} }
|
|
449
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terminal_free(ptr >>> 0, 1));
|
|
450
|
+
|
|
451
|
+
function addToExternrefTable0(obj) {
|
|
452
|
+
const idx = wasm.__externref_table_alloc();
|
|
453
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
454
|
+
return idx;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
458
|
+
ptr = ptr >>> 0;
|
|
459
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
function getStringFromWasm0(ptr, len) {
|
|
463
|
+
ptr = ptr >>> 0;
|
|
464
|
+
return decodeText(ptr, len);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
let cachedUint32ArrayMemory0 = null;
|
|
468
|
+
function getUint32ArrayMemory0() {
|
|
469
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
470
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
471
|
+
}
|
|
472
|
+
return cachedUint32ArrayMemory0;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
let cachedUint8ArrayMemory0 = null;
|
|
476
|
+
function getUint8ArrayMemory0() {
|
|
477
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
478
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
479
|
+
}
|
|
480
|
+
return cachedUint8ArrayMemory0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
function handleError(f, args) {
|
|
484
|
+
try {
|
|
485
|
+
return f.apply(this, args);
|
|
486
|
+
} catch (e) {
|
|
487
|
+
const idx = addToExternrefTable0(e);
|
|
488
|
+
wasm.__wbindgen_exn_store(idx);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
function isLikeNone(x) {
|
|
493
|
+
return x === undefined || x === null;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
497
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
498
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
499
|
+
WASM_VECTOR_LEN = arg.length;
|
|
500
|
+
return ptr;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
504
|
+
if (realloc === undefined) {
|
|
505
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
506
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
507
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
508
|
+
WASM_VECTOR_LEN = buf.length;
|
|
509
|
+
return ptr;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
let len = arg.length;
|
|
513
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
514
|
+
|
|
515
|
+
const mem = getUint8ArrayMemory0();
|
|
516
|
+
|
|
517
|
+
let offset = 0;
|
|
518
|
+
|
|
519
|
+
for (; offset < len; offset++) {
|
|
520
|
+
const code = arg.charCodeAt(offset);
|
|
521
|
+
if (code > 0x7F) break;
|
|
522
|
+
mem[ptr + offset] = code;
|
|
523
|
+
}
|
|
524
|
+
if (offset !== len) {
|
|
525
|
+
if (offset !== 0) {
|
|
526
|
+
arg = arg.slice(offset);
|
|
527
|
+
}
|
|
528
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
529
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
530
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
531
|
+
|
|
532
|
+
offset += ret.written;
|
|
533
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
WASM_VECTOR_LEN = offset;
|
|
537
|
+
return ptr;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
541
|
+
cachedTextDecoder.decode();
|
|
542
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
543
|
+
let numBytesDecoded = 0;
|
|
544
|
+
function decodeText(ptr, len) {
|
|
545
|
+
numBytesDecoded += len;
|
|
546
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
547
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
548
|
+
cachedTextDecoder.decode();
|
|
549
|
+
numBytesDecoded = len;
|
|
550
|
+
}
|
|
551
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
const cachedTextEncoder = new TextEncoder();
|
|
555
|
+
|
|
556
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
557
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
558
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
559
|
+
view.set(buf);
|
|
560
|
+
return {
|
|
561
|
+
read: arg.length,
|
|
562
|
+
written: buf.length
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
let WASM_VECTOR_LEN = 0;
|
|
568
|
+
|
|
569
|
+
let wasmModule, wasm;
|
|
570
|
+
function __wbg_finalize_init(instance, module) {
|
|
571
|
+
wasm = instance.exports;
|
|
572
|
+
wasmModule = module;
|
|
573
|
+
cachedUint32ArrayMemory0 = null;
|
|
574
|
+
cachedUint8ArrayMemory0 = null;
|
|
575
|
+
wasm.__wbindgen_start();
|
|
576
|
+
return wasm;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
async function __wbg_load(module, imports) {
|
|
580
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
581
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
582
|
+
try {
|
|
583
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
584
|
+
} catch (e) {
|
|
585
|
+
const validResponse = module.ok && expectedResponseType(module.type);
|
|
586
|
+
|
|
587
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
588
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
589
|
+
|
|
590
|
+
} else { throw e; }
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
const bytes = await module.arrayBuffer();
|
|
595
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
596
|
+
} else {
|
|
597
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
598
|
+
|
|
599
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
600
|
+
return { instance, module };
|
|
601
|
+
} else {
|
|
602
|
+
return instance;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
function expectedResponseType(type) {
|
|
607
|
+
switch (type) {
|
|
608
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
609
|
+
}
|
|
610
|
+
return false;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
function initSync(module) {
|
|
615
|
+
if (wasm !== undefined) return wasm;
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
if (module !== undefined) {
|
|
619
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
620
|
+
({module} = module)
|
|
621
|
+
} else {
|
|
622
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
const imports = __wbg_get_imports();
|
|
627
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
628
|
+
module = new WebAssembly.Module(module);
|
|
629
|
+
}
|
|
630
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
631
|
+
return __wbg_finalize_init(instance, module);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
async function __wbg_init(module_or_path) {
|
|
635
|
+
if (wasm !== undefined) return wasm;
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
if (module_or_path !== undefined) {
|
|
639
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
640
|
+
({module_or_path} = module_or_path)
|
|
641
|
+
} else {
|
|
642
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
if (module_or_path === undefined) {
|
|
647
|
+
module_or_path = new URL('blit_browser_bg.wasm', import.meta.url);
|
|
648
|
+
}
|
|
649
|
+
const imports = __wbg_get_imports();
|
|
650
|
+
|
|
651
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
652
|
+
module_or_path = fetch(module_or_path);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
656
|
+
|
|
657
|
+
return __wbg_finalize_init(instance, module);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export { initSync, __wbg_init as default };
|
|
Binary file
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_terminal_free: (a: number, b: number) => void;
|
|
5
|
+
export const terminal_app_cursor: (a: number) => number;
|
|
6
|
+
export const terminal_background_ops: (a: number) => [number, number];
|
|
7
|
+
export const terminal_bracketed_paste: (a: number) => number;
|
|
8
|
+
export const terminal_cols: (a: number) => number;
|
|
9
|
+
export const terminal_cursor_col: (a: number) => number;
|
|
10
|
+
export const terminal_cursor_row: (a: number) => number;
|
|
11
|
+
export const terminal_cursor_visible: (a: number) => number;
|
|
12
|
+
export const terminal_echo: (a: number) => number;
|
|
13
|
+
export const terminal_feed_compressed: (a: number, b: number, c: number) => void;
|
|
14
|
+
export const terminal_feed_compressed_batch: (a: number, b: number, c: number) => void;
|
|
15
|
+
export const terminal_get_html: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
16
|
+
export const terminal_get_text: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
17
|
+
export const terminal_glyph_atlas_canvas: (a: number) => any;
|
|
18
|
+
export const terminal_glyph_atlas_version: (a: number) => number;
|
|
19
|
+
export const terminal_glyph_ops: (a: number) => [number, number];
|
|
20
|
+
export const terminal_icanon: (a: number) => number;
|
|
21
|
+
export const terminal_invalidate_render_cache: (a: number) => void;
|
|
22
|
+
export const terminal_last_render_damage_col_end: (a: number) => number;
|
|
23
|
+
export const terminal_last_render_damage_col_start: (a: number) => number;
|
|
24
|
+
export const terminal_last_render_damage_row_end: (a: number) => number;
|
|
25
|
+
export const terminal_last_render_damage_row_start: (a: number) => number;
|
|
26
|
+
export const terminal_last_render_full: (a: number) => number;
|
|
27
|
+
export const terminal_last_render_scroll_rows: (a: number) => number;
|
|
28
|
+
export const terminal_mouse_encoding: (a: number) => number;
|
|
29
|
+
export const terminal_mouse_mode: (a: number) => number;
|
|
30
|
+
export const terminal_new: (a: number, b: number, c: number, d: number) => number;
|
|
31
|
+
export const terminal_overflow_text_count: (a: number) => number;
|
|
32
|
+
export const terminal_overflow_text_op: (a: number, b: number) => any;
|
|
33
|
+
export const terminal_prepare_full_render_ops: (a: number) => void;
|
|
34
|
+
export const terminal_prepare_render_ops: (a: number) => void;
|
|
35
|
+
export const terminal_rows: (a: number) => number;
|
|
36
|
+
export const terminal_set_cell_size: (a: number, b: number, c: number) => void;
|
|
37
|
+
export const terminal_set_font_family: (a: number, b: number, c: number) => void;
|
|
38
|
+
export const terminal_title: (a: number) => [number, number];
|
|
39
|
+
export const __wbindgen_exn_store: (a: number) => void;
|
|
40
|
+
export const __externref_table_alloc: () => number;
|
|
41
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
42
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
43
|
+
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
44
|
+
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
45
|
+
export const __wbindgen_start: () => void;
|
package/package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "blit-browser",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Low-latency terminal streaming — browser WASM renderer",
|
|
6
|
+
"main": "blit_browser.js",
|
|
7
|
+
"types": "blit_browser.d.ts",
|
|
8
|
+
"files": ["blit_browser_bg.wasm","blit_browser.js","blit_browser.d.ts","blit_browser_bg.wasm.d.ts"],
|
|
9
|
+
"sideEffects": ["./snippets/*"],
|
|
10
|
+
"keywords": ["terminal","tty","wasm","streaming","webgl"],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"repository": {"type":"git","url":"git+https://github.com/indent-com/blit.git"}
|
|
13
|
+
}
|