blit-browser 0.4.3 → 0.4.5
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
CHANGED
|
@@ -23,12 +23,6 @@ export class Terminal {
|
|
|
23
23
|
glyph_ops(): Uint32Array;
|
|
24
24
|
icanon(): boolean;
|
|
25
25
|
invalidate_render_cache(): void;
|
|
26
|
-
last_render_damage_col_end(): number;
|
|
27
|
-
last_render_damage_col_start(): number;
|
|
28
|
-
last_render_damage_row_end(): number;
|
|
29
|
-
last_render_damage_row_start(): number;
|
|
30
|
-
last_render_full(): boolean;
|
|
31
|
-
last_render_scroll_rows(): number;
|
|
32
26
|
mouse_encoding(): number;
|
|
33
27
|
mouse_mode(): number;
|
|
34
28
|
constructor(rows: number, cols: number, cell_width: number, cell_height: number);
|
|
@@ -37,7 +31,6 @@ export class Terminal {
|
|
|
37
31
|
* Returns overflow text op at index: (row, col, col_span, text).
|
|
38
32
|
*/
|
|
39
33
|
overflow_text_op(index: number): any;
|
|
40
|
-
prepare_full_render_ops(): void;
|
|
41
34
|
prepare_render_ops(): void;
|
|
42
35
|
set_ansi_color(idx: number, r: number, g: number, b: number): void;
|
|
43
36
|
set_cell_size(cell_width: number, cell_height: number): void;
|
|
@@ -73,18 +66,11 @@ export interface InitOutput {
|
|
|
73
66
|
readonly terminal_glyph_ops: (a: number) => [number, number];
|
|
74
67
|
readonly terminal_icanon: (a: number) => number;
|
|
75
68
|
readonly terminal_invalidate_render_cache: (a: number) => void;
|
|
76
|
-
readonly terminal_last_render_damage_col_end: (a: number) => number;
|
|
77
|
-
readonly terminal_last_render_damage_col_start: (a: number) => number;
|
|
78
|
-
readonly terminal_last_render_damage_row_end: (a: number) => number;
|
|
79
|
-
readonly terminal_last_render_damage_row_start: (a: number) => number;
|
|
80
|
-
readonly terminal_last_render_full: (a: number) => number;
|
|
81
|
-
readonly terminal_last_render_scroll_rows: (a: number) => number;
|
|
82
69
|
readonly terminal_mouse_encoding: (a: number) => number;
|
|
83
70
|
readonly terminal_mouse_mode: (a: number) => number;
|
|
84
71
|
readonly terminal_new: (a: number, b: number, c: number, d: number) => number;
|
|
85
72
|
readonly terminal_overflow_text_count: (a: number) => number;
|
|
86
73
|
readonly terminal_overflow_text_op: (a: number, b: number) => any;
|
|
87
|
-
readonly terminal_prepare_full_render_ops: (a: number) => void;
|
|
88
74
|
readonly terminal_prepare_render_ops: (a: number) => void;
|
|
89
75
|
readonly terminal_rows: (a: number) => number;
|
|
90
76
|
readonly terminal_set_ansi_color: (a: number, b: number, c: number, d: number, e: number) => void;
|
package/blit_browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* @ts-self-types="./blit_browser.d.ts" */
|
|
2
|
-
import { blitFillTextCodePoint } from './snippets/blit-browser-
|
|
2
|
+
import { blitFillTextCodePoint } from './snippets/blit-browser-e18b00b580d4ecec/inline0.js';
|
|
3
3
|
|
|
4
4
|
export class Terminal {
|
|
5
5
|
__destroy_into_raw() {
|
|
@@ -166,48 +166,6 @@ export class Terminal {
|
|
|
166
166
|
invalidate_render_cache() {
|
|
167
167
|
wasm.terminal_invalidate_render_cache(this.__wbg_ptr);
|
|
168
168
|
}
|
|
169
|
-
/**
|
|
170
|
-
* @returns {number}
|
|
171
|
-
*/
|
|
172
|
-
last_render_damage_col_end() {
|
|
173
|
-
const ret = wasm.terminal_last_render_damage_col_end(this.__wbg_ptr);
|
|
174
|
-
return ret;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* @returns {number}
|
|
178
|
-
*/
|
|
179
|
-
last_render_damage_col_start() {
|
|
180
|
-
const ret = wasm.terminal_last_render_damage_col_start(this.__wbg_ptr);
|
|
181
|
-
return ret;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* @returns {number}
|
|
185
|
-
*/
|
|
186
|
-
last_render_damage_row_end() {
|
|
187
|
-
const ret = wasm.terminal_last_render_damage_row_end(this.__wbg_ptr);
|
|
188
|
-
return ret;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* @returns {number}
|
|
192
|
-
*/
|
|
193
|
-
last_render_damage_row_start() {
|
|
194
|
-
const ret = wasm.terminal_last_render_damage_row_start(this.__wbg_ptr);
|
|
195
|
-
return ret;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* @returns {boolean}
|
|
199
|
-
*/
|
|
200
|
-
last_render_full() {
|
|
201
|
-
const ret = wasm.terminal_last_render_full(this.__wbg_ptr);
|
|
202
|
-
return ret !== 0;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @returns {number}
|
|
206
|
-
*/
|
|
207
|
-
last_render_scroll_rows() {
|
|
208
|
-
const ret = wasm.terminal_last_render_scroll_rows(this.__wbg_ptr);
|
|
209
|
-
return ret;
|
|
210
|
-
}
|
|
211
169
|
/**
|
|
212
170
|
* @returns {number}
|
|
213
171
|
*/
|
|
@@ -250,9 +208,6 @@ export class Terminal {
|
|
|
250
208
|
const ret = wasm.terminal_overflow_text_op(this.__wbg_ptr, index);
|
|
251
209
|
return ret;
|
|
252
210
|
}
|
|
253
|
-
prepare_full_render_ops() {
|
|
254
|
-
wasm.terminal_prepare_full_render_ops(this.__wbg_ptr);
|
|
255
|
-
}
|
|
256
211
|
prepare_render_ops() {
|
|
257
212
|
wasm.terminal_prepare_render_ops(this.__wbg_ptr);
|
|
258
213
|
}
|
|
@@ -329,7 +284,7 @@ function __wbg_get_imports() {
|
|
|
329
284
|
__wbg_beginPath_596efed55075dbc3: function(arg0) {
|
|
330
285
|
arg0.beginPath();
|
|
331
286
|
},
|
|
332
|
-
|
|
287
|
+
__wbg_blitFillTextCodePoint_d1f5d1438f5e984d: function(arg0, arg1, arg2, arg3) {
|
|
333
288
|
blitFillTextCodePoint(arg0, arg1 >>> 0, arg2, arg3);
|
|
334
289
|
},
|
|
335
290
|
__wbg_clearRect_ea4f3d34d76f4bc5: function(arg0, arg1, arg2, arg3, arg4) {
|
package/blit_browser_bg.wasm
CHANGED
|
Binary file
|
|
@@ -20,18 +20,11 @@ export const terminal_glyph_atlas_version: (a: number) => number;
|
|
|
20
20
|
export const terminal_glyph_ops: (a: number) => [number, number];
|
|
21
21
|
export const terminal_icanon: (a: number) => number;
|
|
22
22
|
export const terminal_invalidate_render_cache: (a: number) => void;
|
|
23
|
-
export const terminal_last_render_damage_col_end: (a: number) => number;
|
|
24
|
-
export const terminal_last_render_damage_col_start: (a: number) => number;
|
|
25
|
-
export const terminal_last_render_damage_row_end: (a: number) => number;
|
|
26
|
-
export const terminal_last_render_damage_row_start: (a: number) => number;
|
|
27
|
-
export const terminal_last_render_full: (a: number) => number;
|
|
28
|
-
export const terminal_last_render_scroll_rows: (a: number) => number;
|
|
29
23
|
export const terminal_mouse_encoding: (a: number) => number;
|
|
30
24
|
export const terminal_mouse_mode: (a: number) => number;
|
|
31
25
|
export const terminal_new: (a: number, b: number, c: number, d: number) => number;
|
|
32
26
|
export const terminal_overflow_text_count: (a: number) => number;
|
|
33
27
|
export const terminal_overflow_text_op: (a: number, b: number) => any;
|
|
34
|
-
export const terminal_prepare_full_render_ops: (a: number) => void;
|
|
35
28
|
export const terminal_prepare_render_ops: (a: number) => void;
|
|
36
29
|
export const terminal_rows: (a: number) => number;
|
|
37
30
|
export const terminal_set_ansi_color: (a: number, b: number, c: number, d: number, e: number) => void;
|
package/package.json
CHANGED
/package/snippets/{blit-browser-a04d10f432b6b07a → blit-browser-e18b00b580d4ecec}/inline0.js
RENAMED
|
File without changes
|