@opentui/core 0.5.7 → 0.5.8
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 +44 -37
- package/{chunk-bun-xmsp0nqq.js → chunk-bun-2956gvaq.js} +24 -14
- package/{chunk-bun-xmsp0nqq.js.map → chunk-bun-2956gvaq.js.map} +6 -6
- package/{chunk-bun-z4gs6jzg.js → chunk-bun-b3exa82d.js} +6 -7
- package/{chunk-bun-z4gs6jzg.js.map → chunk-bun-b3exa82d.js.map} +3 -3
- package/{chunk-node-591ssncm.js → chunk-node-kr27pp2p.js} +6 -7
- package/{chunk-node-591ssncm.js.map → chunk-node-kr27pp2p.js.map} +3 -3
- package/{chunk-node-267dafd8.js → chunk-node-mfda59vq.js} +24 -14
- package/{chunk-node-267dafd8.js.map → chunk-node-mfda59vq.js.map} +6 -6
- package/index.bun.js +2 -2
- package/index.node.js +2 -2
- package/package.json +9 -9
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/types.d.ts +1 -1
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig-structs.d.ts +1 -0
package/index.bun.js
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
mergeKeyAliases,
|
|
45
45
|
mergeKeyBindings,
|
|
46
46
|
wrapWithDelegates
|
|
47
|
-
} from "./chunk-bun-
|
|
47
|
+
} from "./chunk-bun-b3exa82d.js";
|
|
48
48
|
import {
|
|
49
49
|
ASCIIFontSelectionHelper,
|
|
50
50
|
ATTRIBUTE_BASE_BITS,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
visualizeRenderableTree,
|
|
205
205
|
white,
|
|
206
206
|
yellow
|
|
207
|
-
} from "./chunk-bun-
|
|
207
|
+
} from "./chunk-bun-2956gvaq.js";
|
|
208
208
|
// src/post/effects.ts
|
|
209
209
|
function toU8(value) {
|
|
210
210
|
return Math.round(Math.max(0, Math.min(1, Number.isFinite(value) ? value : 0)) * 255);
|
package/index.node.js
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
mergeKeyAliases,
|
|
44
44
|
mergeKeyBindings,
|
|
45
45
|
wrapWithDelegates
|
|
46
|
-
} from "./chunk-node-
|
|
46
|
+
} from "./chunk-node-kr27pp2p.js";
|
|
47
47
|
import {
|
|
48
48
|
ASCIIFontSelectionHelper,
|
|
49
49
|
ATTRIBUTE_BASE_BITS,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
visualizeRenderableTree,
|
|
204
204
|
white,
|
|
205
205
|
yellow
|
|
206
|
-
} from "./chunk-node-
|
|
206
|
+
} from "./chunk-node-mfda59vq.js";
|
|
207
207
|
// src/post/effects.ts
|
|
208
208
|
function toU8(value) {
|
|
209
209
|
return Math.round(Math.max(0, Math.min(1, Number.isFinite(value) ? value : 0)) * 255);
|
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.8",
|
|
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.8",
|
|
79
|
+
"@opentui/core-darwin-arm64": "0.5.8",
|
|
80
|
+
"@opentui/core-linux-x64": "0.5.8",
|
|
81
|
+
"@opentui/core-linux-arm64": "0.5.8",
|
|
82
|
+
"@opentui/core-win32-x64": "0.5.8",
|
|
83
|
+
"@opentui/core-win32-arm64": "0.5.8",
|
|
84
|
+
"@opentui/core-linux-x64-musl": "0.5.8",
|
|
85
|
+
"@opentui/core-linux-arm64-musl": "0.5.8"
|
|
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-b3exa82d.js";
|
|
6
6
|
import {
|
|
7
7
|
SystemClock,
|
|
8
8
|
TreeSitterClient
|
|
9
|
-
} from "./chunk-bun-
|
|
9
|
+
} from "./chunk-bun-2956gvaq.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-kr27pp2p.js";
|
|
5
5
|
import {
|
|
6
6
|
SystemClock,
|
|
7
7
|
TreeSitterClient
|
|
8
|
-
} from "./chunk-node-
|
|
8
|
+
} from "./chunk-node-mfda59vq.js";
|
|
9
9
|
|
|
10
10
|
// src/testing/mock-keys.ts
|
|
11
11
|
import { Buffer as Buffer2 } from "node:buffer";
|
package/types.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare enum TargetChannel {
|
|
|
51
51
|
BG = 2,
|
|
52
52
|
Both = 3
|
|
53
53
|
}
|
|
54
|
-
export type WidthMethod = "wcwidth" | "unicode";
|
|
54
|
+
export type WidthMethod = "wcwidth" | "unicode" | "unicode-wide";
|
|
55
55
|
export type TerminalMultiplexer = "none" | "tmux" | "zellij" | "screen" | "unknown";
|
|
56
56
|
export type TerminalCapabilityState = "unknown" | "supported" | "unsupported";
|
|
57
57
|
export type ImageRenderProtocol = "auto" | "kitty" | "sixel" | "blocks";
|
package/yoga.bun.js
CHANGED
package/yoga.js
CHANGED
package/zig-structs.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare const VisualCursorStruct: import("bun-ffi-structs").DefineStructR
|
|
|
38
38
|
export declare const TerminalCapabilitiesStruct: import("bun-ffi-structs").DefineStructReturnType<[readonly ["kitty_keyboard", "bool_u8"], readonly ["kitty_graphics", "bool_u8"], readonly ["rgb", "bool_u8"], readonly ["ansi256", "bool_u8"], readonly ["unicode", import("bun-ffi-structs").EnumDef<{
|
|
39
39
|
wcwidth: number;
|
|
40
40
|
unicode: number;
|
|
41
|
+
"unicode-wide": number;
|
|
41
42
|
}>], readonly ["sgr_pixels", "bool_u8"], readonly ["color_scheme_updates", "bool_u8"], readonly ["explicit_width", "bool_u8"], readonly ["scaled_text", "bool_u8"], readonly ["sixel", "bool_u8"], readonly ["focus_tracking", "bool_u8"], readonly ["sync", "bool_u8"], readonly ["bracketed_paste", "bool_u8"], readonly ["hyperlinks", "bool_u8"], readonly ["osc52", "bool_u8"], readonly ["notifications", "bool_u8"], readonly ["explicit_cursor_positioning", "bool_u8"], readonly ["remote", "bool_u8"], readonly ["multiplexer", import("bun-ffi-structs").EnumDef<{
|
|
42
43
|
none: number;
|
|
43
44
|
tmux: number;
|