@opentui/core 0.1.86 → 0.1.87
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/3d.js +4 -3
- package/3d.js.map +3 -3
- package/editor-view.d.ts +1 -1
- package/{index-4sjb8n0n.js → index-0wbvecnk.js} +2299 -1635
- package/index-0wbvecnk.js.map +63 -0
- package/index.js +114 -9
- package/index.js.map +11 -10
- package/lib/KeyHandler.d.ts +1 -4
- package/lib/clock.d.ts +11 -0
- package/lib/index.d.ts +2 -1
- package/lib/parse.mouse.d.ts +2 -2
- package/lib/stdin-parser.d.ts +74 -0
- package/lib/terminal-palette.d.ts +9 -4
- package/lib/tree-sitter/download-utils.d.ts +1 -1
- package/package.json +7 -7
- package/parser.worker.js +7 -7
- package/parser.worker.js.map +3 -3
- package/renderables/Diff.d.ts +7 -0
- package/renderables/TimeToFirstDraw.d.ts +24 -0
- package/renderables/index.d.ts +1 -0
- package/renderer.d.ts +12 -4
- package/testing/manual-clock.d.ts +16 -0
- package/testing.js +1 -1
- package/text-buffer-view.d.ts +1 -1
- package/types.d.ts +9 -4
- package/zig-structs.d.ts +6 -6
- package/zig.d.ts +1 -1
- package/index-4sjb8n0n.js.map +0 -62
- package/lib/stdin-buffer.d.ts +0 -44
package/3d.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__export,
|
|
7
7
|
__require,
|
|
8
8
|
__toESM
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0wbvecnk.js";
|
|
10
10
|
|
|
11
11
|
// ../../node_modules/.bun/omggif@1.0.10/node_modules/omggif/omggif.js
|
|
12
12
|
var require_omggif = __commonJS((exports) => {
|
|
@@ -32176,11 +32176,12 @@ class ThreeRenderable extends Renderable {
|
|
|
32176
32176
|
}
|
|
32177
32177
|
}
|
|
32178
32178
|
// src/3d/TextureUtils.ts
|
|
32179
|
+
import { readFile as readFile2 } from "fs/promises";
|
|
32179
32180
|
import { Color as Color2, DataTexture, NearestFilter, ClampToEdgeWrapping, RGBAFormat, UnsignedByteType } from "three";
|
|
32180
32181
|
class TextureUtils {
|
|
32181
32182
|
static async loadTextureFromFile(path) {
|
|
32182
32183
|
try {
|
|
32183
|
-
const buffer = await
|
|
32184
|
+
const buffer = await readFile2(path);
|
|
32184
32185
|
const image2 = await Jimp.read(buffer);
|
|
32185
32186
|
image2.flip({ horizontal: false, vertical: true });
|
|
32186
32187
|
const texture = new DataTexture(image2.bitmap.data, image2.bitmap.width, image2.bitmap.height, RGBAFormat, UnsignedByteType);
|
|
@@ -34037,5 +34038,5 @@ export {
|
|
|
34037
34038
|
CLICanvas
|
|
34038
34039
|
};
|
|
34039
34040
|
|
|
34040
|
-
//# debugId=
|
|
34041
|
+
//# debugId=A1DB4608951A660F64756E2164756E21
|
|
34041
34042
|
//# sourceMappingURL=3d.js.map
|