@opentui/core 0.5.2 → 0.5.4
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/README.md +1 -1
- package/{chunk-bun-26r5c5w5.js → chunk-bun-1n307cze.js} +7 -6
- package/{chunk-bun-26r5c5w5.js.map → chunk-bun-1n307cze.js.map} +4 -4
- package/{chunk-bun-t68f2fmr.js → chunk-bun-gvv8cwwz.js} +14 -4
- package/{chunk-bun-t68f2fmr.js.map → chunk-bun-gvv8cwwz.js.map} +4 -4
- package/{chunk-node-aj3n20gq.js → chunk-node-crchpns1.js} +7 -6
- package/{chunk-node-aj3n20gq.js.map → chunk-node-crchpns1.js.map} +4 -4
- package/{chunk-node-kq7as74d.js → chunk-node-tq0x9mbj.js} +14 -4
- package/{chunk-node-kq7as74d.js.map → chunk-node-tq0x9mbj.js.map} +4 -4
- package/index.bun.js +30 -6
- package/index.bun.js.map +3 -3
- package/index.node.js +30 -6
- package/index.node.js.map +3 -3
- package/package.json +9 -9
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/utils.d.ts +2 -1
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig.d.ts +1 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.node.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.5.
|
|
7
|
+
"version": "0.5.4",
|
|
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": {
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"web-tree-sitter": "0.25.10"
|
|
76
76
|
},
|
|
77
77
|
"optionalDependencies": {
|
|
78
|
-
"@opentui/core-darwin-x64": "0.5.
|
|
79
|
-
"@opentui/core-darwin-arm64": "0.5.
|
|
80
|
-
"@opentui/core-linux-x64": "0.5.
|
|
81
|
-
"@opentui/core-linux-arm64": "0.5.
|
|
82
|
-
"@opentui/core-win32-x64": "0.5.
|
|
83
|
-
"@opentui/core-win32-arm64": "0.5.
|
|
84
|
-
"@opentui/core-linux-x64-musl": "0.5.
|
|
85
|
-
"@opentui/core-linux-arm64-musl": "0.5.
|
|
78
|
+
"@opentui/core-darwin-x64": "0.5.4",
|
|
79
|
+
"@opentui/core-darwin-arm64": "0.5.4",
|
|
80
|
+
"@opentui/core-linux-x64": "0.5.4",
|
|
81
|
+
"@opentui/core-linux-arm64": "0.5.4",
|
|
82
|
+
"@opentui/core-win32-x64": "0.5.4",
|
|
83
|
+
"@opentui/core-win32-arm64": "0.5.4",
|
|
84
|
+
"@opentui/core-linux-x64-musl": "0.5.4",
|
|
85
|
+
"@opentui/core-linux-arm64-musl": "0.5.4"
|
|
86
86
|
}
|
|
87
87
|
}
|
package/testing.bun.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ANSI,
|
|
4
4
|
CliRenderer
|
|
5
|
-
} from "./chunk-bun-
|
|
5
|
+
} from "./chunk-bun-gvv8cwwz.js";
|
|
6
6
|
import {
|
|
7
7
|
SystemClock,
|
|
8
8
|
TreeSitterClient
|
|
9
|
-
} from "./chunk-bun-
|
|
9
|
+
} from "./chunk-bun-1n307cze.js";
|
|
10
10
|
|
|
11
11
|
// src/testing/mock-keys.ts
|
|
12
12
|
import { Buffer as Buffer2 } from "buffer";
|
package/testing.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANSI,
|
|
3
3
|
CliRenderer
|
|
4
|
-
} from "./chunk-node-
|
|
4
|
+
} from "./chunk-node-tq0x9mbj.js";
|
|
5
5
|
import {
|
|
6
6
|
SystemClock,
|
|
7
7
|
TreeSitterClient
|
|
8
|
-
} from "./chunk-node-
|
|
8
|
+
} from "./chunk-node-crchpns1.js";
|
|
9
9
|
|
|
10
10
|
// src/testing/mock-keys.ts
|
|
11
11
|
import { Buffer as Buffer2 } from "node:buffer";
|
package/utils.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Renderable } from "./Renderable.js";
|
|
2
|
-
export declare function createTextAttributes({ bold, italic, underline, dim, blink, inverse, hidden, strikethrough, }?: {
|
|
2
|
+
export declare function createTextAttributes({ bold, italic, underline, dim, blink, inverse, reverse, hidden, strikethrough, }?: {
|
|
3
3
|
bold?: boolean;
|
|
4
4
|
italic?: boolean;
|
|
5
5
|
underline?: boolean;
|
|
6
6
|
dim?: boolean;
|
|
7
7
|
blink?: boolean;
|
|
8
8
|
inverse?: boolean;
|
|
9
|
+
reverse?: boolean;
|
|
9
10
|
hidden?: boolean;
|
|
10
11
|
strikethrough?: boolean;
|
|
11
12
|
}): number;
|
package/yoga.bun.js
CHANGED
package/yoga.js
CHANGED
package/zig.d.ts
CHANGED
|
@@ -225,7 +225,7 @@ export interface AudioEngineLib {
|
|
|
225
225
|
export interface RenderLib extends AudioEngineLib {
|
|
226
226
|
createRenderer: (width: number, height: number, options?: NativeRendererCreateOptions) => RendererHandle | null;
|
|
227
227
|
setTerminalEnvVar: (renderer: RendererHandle, key: string, value: string) => boolean;
|
|
228
|
-
destroyRenderer: (renderer: RendererHandle) => void;
|
|
228
|
+
destroyRenderer: (renderer: RendererHandle, flushInput?: boolean) => void;
|
|
229
229
|
setUseThread: (renderer: RendererHandle, useThread: boolean) => void;
|
|
230
230
|
setClearOnShutdown: (renderer: RendererHandle, clear: boolean) => void;
|
|
231
231
|
setBackgroundColor: (renderer: RendererHandle, color: RGBA) => void;
|