@fairyhunter13/opentui-core 0.1.126 → 0.1.128
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 +1 -1
- package/Renderable.d.ts +1 -0
- package/{index-a41nn636.js → index-1ej7q851.js} +2 -2
- package/{index-6qxkvx1n.js → index-1mm3bk73.js} +25 -6
- package/{index-6qxkvx1n.js.map → index-1mm3bk73.js.map} +5 -5
- package/{index-dtm4425x.js → index-nagrr150.js} +3 -3
- package/index.js +2 -2
- package/package.json +7 -7
- package/renderer.d.ts +8 -0
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin.js +3 -3
- package/testing.js +1 -1
- package/types.d.ts +2 -0
- /package/{index-a41nn636.js.map → index-1ej7q851.js.map} +0 -0
- /package/{index-dtm4425x.js.map → index-nagrr150.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
exports_src
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1ej7q851.js";
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1mm3bk73.js";
|
|
8
8
|
|
|
9
9
|
// src/runtime-plugin.ts
|
|
10
10
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -408,4 +408,4 @@ function createRuntimePlugin(input = {}) {
|
|
|
408
408
|
export { isCoreRuntimeModuleSpecifier, runtimeModuleIdForSpecifier, createRuntimePlugin };
|
|
409
409
|
|
|
410
410
|
//# debugId=127A9B143CE0234164756E2164756E21
|
|
411
|
-
//# sourceMappingURL=index-
|
|
411
|
+
//# sourceMappingURL=index-nagrr150.js.map
|
package/index.js
CHANGED
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
registerCorePlugin,
|
|
80
80
|
resolveCoreSlot,
|
|
81
81
|
vstyles
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-1ej7q851.js";
|
|
83
83
|
import {
|
|
84
84
|
ASCIIFontSelectionHelper,
|
|
85
85
|
ATTRIBUTE_BASE_BITS,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
white,
|
|
237
237
|
wrapWithDelegates,
|
|
238
238
|
yellow
|
|
239
|
-
} from "./index-
|
|
239
|
+
} from "./index-1mm3bk73.js";
|
|
240
240
|
export {
|
|
241
241
|
yellow,
|
|
242
242
|
wrapWithDelegates,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.128",
|
|
8
8
|
"description": "OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"bun-webgpu": "0.1.5",
|
|
68
68
|
"planck": "^1.4.2",
|
|
69
69
|
"three": "0.177.0",
|
|
70
|
-
"@fairyhunter13/opentui-core-darwin-x64": "0.1.
|
|
71
|
-
"@fairyhunter13/opentui-core-darwin-arm64": "0.1.
|
|
72
|
-
"@fairyhunter13/opentui-core-linux-x64": "0.1.
|
|
73
|
-
"@fairyhunter13/opentui-core-linux-arm64": "0.1.
|
|
74
|
-
"@fairyhunter13/opentui-core-win32-x64": "0.1.
|
|
75
|
-
"@fairyhunter13/opentui-core-win32-arm64": "0.1.
|
|
70
|
+
"@fairyhunter13/opentui-core-darwin-x64": "0.1.128",
|
|
71
|
+
"@fairyhunter13/opentui-core-darwin-arm64": "0.1.128",
|
|
72
|
+
"@fairyhunter13/opentui-core-linux-x64": "0.1.128",
|
|
73
|
+
"@fairyhunter13/opentui-core-linux-arm64": "0.1.128",
|
|
74
|
+
"@fairyhunter13/opentui-core-win32-x64": "0.1.128",
|
|
75
|
+
"@fairyhunter13/opentui-core-win32-arm64": "0.1.128"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
package/renderer.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
166
166
|
private renderTimeout;
|
|
167
167
|
private lastTime;
|
|
168
168
|
private frameCount;
|
|
169
|
+
private _frameId;
|
|
169
170
|
private lastFpsTime;
|
|
170
171
|
private currentFps;
|
|
171
172
|
private targetFrameTime;
|
|
@@ -257,6 +258,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
257
258
|
popHitGridScissorRect(): void;
|
|
258
259
|
clearHitGridScissorRects(): void;
|
|
259
260
|
get widthMethod(): WidthMethod;
|
|
261
|
+
get frameId(): number;
|
|
260
262
|
private writeOut;
|
|
261
263
|
requestRender(): void;
|
|
262
264
|
private activateFrame;
|
|
@@ -342,6 +344,12 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
342
344
|
corner?: DebugOverlayCorner;
|
|
343
345
|
}): void;
|
|
344
346
|
setTerminalTitle(title: string): void;
|
|
347
|
+
/**
|
|
348
|
+
* Reset the terminal background color to its default via OSC 111.
|
|
349
|
+
* Called automatically by destroy() and suspend(), but exposed for
|
|
350
|
+
* consumers that need explicit control (e.g. before SIGTSTP).
|
|
351
|
+
*/
|
|
352
|
+
resetTerminalBgColor(): void;
|
|
345
353
|
copyToClipboardOSC52(text: string, target?: ClipboardTarget): boolean;
|
|
346
354
|
clearClipboardOSC52(target?: ClipboardTarget): boolean;
|
|
347
355
|
isOsc52Supported(): boolean;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createRuntimePlugin,
|
|
4
4
|
runtimeModuleIdForSpecifier
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
5
|
+
} from "./index-nagrr150.js";
|
|
6
|
+
import"./index-1ej7q851.js";
|
|
7
|
+
import"./index-1mm3bk73.js";
|
|
8
8
|
|
|
9
9
|
// src/runtime-plugin-support.ts
|
|
10
10
|
var {plugin: registerBunPlugin } = globalThis.Bun;
|
package/runtime-plugin.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
createRuntimePlugin,
|
|
4
4
|
isCoreRuntimeModuleSpecifier,
|
|
5
5
|
runtimeModuleIdForSpecifier
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
6
|
+
} from "./index-nagrr150.js";
|
|
7
|
+
import"./index-1ej7q851.js";
|
|
8
|
+
import"./index-1mm3bk73.js";
|
|
9
9
|
export {
|
|
10
10
|
runtimeModuleIdForSpecifier,
|
|
11
11
|
isCoreRuntimeModuleSpecifier,
|
package/testing.js
CHANGED
package/types.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export interface RenderContext extends EventEmitter {
|
|
|
63
63
|
clearHitGridScissorRects: () => void;
|
|
64
64
|
width: number;
|
|
65
65
|
height: number;
|
|
66
|
+
/** Monotonic, bumped once per `loop()` iteration. Lets renderables dedupe per-frame work. */
|
|
67
|
+
frameId: number;
|
|
66
68
|
requestRender: () => void;
|
|
67
69
|
setCursorPosition: (x: number, y: number, visible: boolean) => void;
|
|
68
70
|
setCursorStyle: (options: CursorStyleOptions) => void;
|
|
File without changes
|
|
File without changes
|