@omnidotdev/terminal 0.1.1 → 0.1.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.
|
@@ -11,11 +11,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
11
11
|
export interface InitOutput {
|
|
12
12
|
readonly memory: WebAssembly.Memory;
|
|
13
13
|
readonly create_terminal: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly __wasm_bindgen_func_elem_2737: (a: number, b: number, c: number) => void;
|
|
18
|
-
readonly __wasm_bindgen_func_elem_2736: (a: number, b: number) => void;
|
|
14
|
+
readonly __wasm_bindgen_func_elem_361: (a: number, b: number, c: number) => void;
|
|
15
|
+
readonly __wasm_bindgen_func_elem_360: (a: number, b: number) => void;
|
|
16
|
+
readonly __wasm_bindgen_func_elem_366: (a: number, b: number) => void;
|
|
19
17
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
20
18
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
21
19
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -84,11 +84,6 @@ function dropObject(idx) {
|
|
|
84
84
|
heap_next = idx;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
function getArrayU32FromWasm0(ptr, len) {
|
|
88
|
-
ptr = ptr >>> 0;
|
|
89
|
-
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
87
|
function getArrayU8FromWasm0(ptr, len) {
|
|
93
88
|
ptr = ptr >>> 0;
|
|
94
89
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -107,14 +102,6 @@ function getStringFromWasm0(ptr, len) {
|
|
|
107
102
|
return decodeText(ptr, len);
|
|
108
103
|
}
|
|
109
104
|
|
|
110
|
-
let cachedUint32ArrayMemory0 = null;
|
|
111
|
-
function getUint32ArrayMemory0() {
|
|
112
|
-
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
113
|
-
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
114
|
-
}
|
|
115
|
-
return cachedUint32ArrayMemory0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
105
|
let cachedUint8ArrayMemory0 = null;
|
|
119
106
|
function getUint8ArrayMemory0() {
|
|
120
107
|
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
@@ -242,16 +229,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
242
229
|
|
|
243
230
|
let WASM_VECTOR_LEN = 0;
|
|
244
231
|
|
|
245
|
-
function
|
|
246
|
-
wasm.
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
function __wasm_bindgen_func_elem_369(arg0, arg1) {
|
|
250
|
-
wasm.__wasm_bindgen_func_elem_369(arg0, arg1);
|
|
232
|
+
function __wasm_bindgen_func_elem_361(arg0, arg1, arg2) {
|
|
233
|
+
wasm.__wasm_bindgen_func_elem_361(arg0, arg1, addHeapObject(arg2));
|
|
251
234
|
}
|
|
252
235
|
|
|
253
|
-
function
|
|
254
|
-
wasm.
|
|
236
|
+
function __wasm_bindgen_func_elem_366(arg0, arg1) {
|
|
237
|
+
wasm.__wasm_bindgen_func_elem_366(arg0, arg1);
|
|
255
238
|
}
|
|
256
239
|
|
|
257
240
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -949,9 +932,6 @@ function __wbg_get_imports() {
|
|
|
949
932
|
imports.wbg.__wbg_setBindGroup_bf7233e51ee0fd56 = function(arg0, arg1, arg2) {
|
|
950
933
|
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
951
934
|
};
|
|
952
|
-
imports.wbg.__wbg_setBindGroup_c532d9e80c3b863a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
953
|
-
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
954
|
-
}, arguments) };
|
|
955
935
|
imports.wbg.__wbg_setIndexBuffer_d6851b016152211a = function(arg0, arg1, arg2, arg3, arg4) {
|
|
956
936
|
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
957
937
|
};
|
|
@@ -1239,9 +1219,6 @@ function __wbg_get_imports() {
|
|
|
1239
1219
|
imports.wbg.__wbg_set_label_dc8df9969898889c = function(arg0, arg1, arg2) {
|
|
1240
1220
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1241
1221
|
};
|
|
1242
|
-
imports.wbg.__wbg_set_label_e3709fe3e82429b5 = function(arg0, arg1, arg2) {
|
|
1243
|
-
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1244
|
-
};
|
|
1245
1222
|
imports.wbg.__wbg_set_label_fb5d28b3ba7af11f = function(arg0, arg1, arg2) {
|
|
1246
1223
|
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
1247
1224
|
};
|
|
@@ -1580,17 +1557,12 @@ function __wbg_get_imports() {
|
|
|
1580
1557
|
}, arguments) };
|
|
1581
1558
|
imports.wbg.__wbindgen_cast_187d9bf61ed157ff = function(arg0, arg1) {
|
|
1582
1559
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1583
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1560
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1584
1561
|
return addHeapObject(ret);
|
|
1585
1562
|
};
|
|
1586
1563
|
imports.wbg.__wbindgen_cast_1d60ba84c0e612df = function(arg0, arg1) {
|
|
1587
1564
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1588
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1589
|
-
return addHeapObject(ret);
|
|
1590
|
-
};
|
|
1591
|
-
imports.wbg.__wbindgen_cast_20a522f3e8c4c240 = function(arg0, arg1) {
|
|
1592
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 11, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1593
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_359, __wasm_bindgen_func_elem_369);
|
|
1565
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1594
1566
|
return addHeapObject(ret);
|
|
1595
1567
|
};
|
|
1596
1568
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
@@ -1598,24 +1570,29 @@ function __wbg_get_imports() {
|
|
|
1598
1570
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1599
1571
|
return addHeapObject(ret);
|
|
1600
1572
|
};
|
|
1573
|
+
imports.wbg.__wbindgen_cast_32bc49bfb4050e32 = function(arg0, arg1) {
|
|
1574
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [Externref], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1575
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1576
|
+
return addHeapObject(ret);
|
|
1577
|
+
};
|
|
1601
1578
|
imports.wbg.__wbindgen_cast_46d6ccd6e2a13afa = function(arg0, arg1) {
|
|
1602
1579
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1603
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1580
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1604
1581
|
return addHeapObject(ret);
|
|
1605
1582
|
};
|
|
1606
1583
|
imports.wbg.__wbindgen_cast_56a336ee13022c01 = function(arg0, arg1) {
|
|
1607
1584
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1608
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1585
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1609
1586
|
return addHeapObject(ret);
|
|
1610
1587
|
};
|
|
1611
1588
|
imports.wbg.__wbindgen_cast_5f4bddbc92058ea9 = function(arg0, arg1) {
|
|
1612
1589
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1613
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1590
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1614
1591
|
return addHeapObject(ret);
|
|
1615
1592
|
};
|
|
1616
1593
|
imports.wbg.__wbindgen_cast_8d0a0c1360e48ed2 = function(arg0, arg1) {
|
|
1617
1594
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1618
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1595
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1619
1596
|
return addHeapObject(ret);
|
|
1620
1597
|
};
|
|
1621
1598
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
@@ -1630,17 +1607,17 @@ function __wbg_get_imports() {
|
|
|
1630
1607
|
};
|
|
1631
1608
|
imports.wbg.__wbindgen_cast_ed6979b760f73a7b = function(arg0, arg1) {
|
|
1632
1609
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1633
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1610
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1634
1611
|
return addHeapObject(ret);
|
|
1635
1612
|
};
|
|
1636
1613
|
imports.wbg.__wbindgen_cast_edc3ef780a25528f = function(arg0, arg1) {
|
|
1637
1614
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1638
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1615
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
|
|
1639
1616
|
return addHeapObject(ret);
|
|
1640
1617
|
};
|
|
1641
|
-
imports.wbg.
|
|
1642
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1643
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1618
|
+
imports.wbg.__wbindgen_cast_fb7e0e3832461097 = function(arg0, arg1) {
|
|
1619
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1620
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_366);
|
|
1644
1621
|
return addHeapObject(ret);
|
|
1645
1622
|
};
|
|
1646
1623
|
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
@@ -1658,7 +1635,6 @@ function __wbg_finalize_init(instance, module) {
|
|
|
1658
1635
|
wasm = instance.exports;
|
|
1659
1636
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
1660
1637
|
cachedDataViewMemory0 = null;
|
|
1661
|
-
cachedUint32ArrayMemory0 = null;
|
|
1662
1638
|
cachedUint8ArrayMemory0 = null;
|
|
1663
1639
|
|
|
1664
1640
|
|
|
Binary file
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const create_terminal: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const __wasm_bindgen_func_elem_2737: (a: number, b: number, c: number) => void;
|
|
9
|
-
export const __wasm_bindgen_func_elem_2736: (a: number, b: number) => void;
|
|
5
|
+
export const __wasm_bindgen_func_elem_361: (a: number, b: number, c: number) => void;
|
|
6
|
+
export const __wasm_bindgen_func_elem_360: (a: number, b: number) => void;
|
|
7
|
+
export const __wasm_bindgen_func_elem_366: (a: number, b: number) => void;
|
|
10
8
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
11
9
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
12
10
|
export const __wbindgen_export3: (a: number) => void;
|