@opentui/core 0.5.12 → 0.5.14
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/{chunk-bun-91mz470w.js → chunk-bun-j2z63cdy.js} +36 -12
- package/chunk-bun-j2z63cdy.js.map +32 -0
- package/{chunk-bun-8f4q4e2m.js → chunk-bun-sjw2d9bq.js} +25 -11
- package/{chunk-bun-8f4q4e2m.js.map → chunk-bun-sjw2d9bq.js.map} +3 -3
- package/{chunk-node-1zjyxy5y.js → chunk-node-80p7e6t6.js} +25 -11
- package/{chunk-node-1zjyxy5y.js.map → chunk-node-80p7e6t6.js.map} +3 -3
- package/{chunk-node-fyb4fckk.js → chunk-node-wp7ct2m6.js} +36 -12
- package/chunk-node-wp7ct2m6.js.map +32 -0
- package/index.bun.js +2 -2
- package/index.node.js +2 -2
- package/package.json +9 -9
- package/renderer.d.ts +2 -0
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/text-buffer-view.d.ts +1 -0
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/chunk-bun-91mz470w.js.map +0 -32
- package/chunk-node-fyb4fckk.js.map +0 -32
package/index.bun.js
CHANGED
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
setRenderLibPath2,
|
|
161
161
|
resolveRenderLib2,
|
|
162
162
|
exports_yoga
|
|
163
|
-
} from "./chunk-bun-
|
|
163
|
+
} from "./chunk-bun-sjw2d9bq.js";
|
|
164
164
|
import {
|
|
165
165
|
convertThemeToStyles2,
|
|
166
166
|
SyntaxStyle2,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
CliRenderEvents2,
|
|
207
207
|
RendererControlState2,
|
|
208
208
|
CliRenderer2
|
|
209
|
-
} from "./chunk-bun-
|
|
209
|
+
} from "./chunk-bun-j2z63cdy.js";
|
|
210
210
|
// src/post/effects.ts
|
|
211
211
|
function toU8(value) {
|
|
212
212
|
return Math.round(Math.max(0, Math.min(1, Number.isFinite(value) ? value : 0)) * 255);
|
package/index.node.js
CHANGED
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
setRenderLibPath2,
|
|
160
160
|
resolveRenderLib2,
|
|
161
161
|
exports_yoga
|
|
162
|
-
} from "./chunk-node-
|
|
162
|
+
} from "./chunk-node-80p7e6t6.js";
|
|
163
163
|
import {
|
|
164
164
|
convertThemeToStyles2,
|
|
165
165
|
SyntaxStyle2,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
CliRenderEvents2,
|
|
206
206
|
RendererControlState2,
|
|
207
207
|
CliRenderer2
|
|
208
|
-
} from "./chunk-node-
|
|
208
|
+
} from "./chunk-node-wp7ct2m6.js";
|
|
209
209
|
// src/post/effects.ts
|
|
210
210
|
function toU8(value) {
|
|
211
211
|
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.14",
|
|
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": {
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
"web-tree-sitter": "0.25.10"
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
|
-
"@opentui/core-darwin-x64": "0.5.
|
|
83
|
-
"@opentui/core-darwin-arm64": "0.5.
|
|
84
|
-
"@opentui/core-linux-x64": "0.5.
|
|
85
|
-
"@opentui/core-linux-arm64": "0.5.
|
|
86
|
-
"@opentui/core-win32-x64": "0.5.
|
|
87
|
-
"@opentui/core-win32-arm64": "0.5.
|
|
88
|
-
"@opentui/core-linux-x64-musl": "0.5.
|
|
89
|
-
"@opentui/core-linux-arm64-musl": "0.5.
|
|
82
|
+
"@opentui/core-darwin-x64": "0.5.14",
|
|
83
|
+
"@opentui/core-darwin-arm64": "0.5.14",
|
|
84
|
+
"@opentui/core-linux-x64": "0.5.14",
|
|
85
|
+
"@opentui/core-linux-arm64": "0.5.14",
|
|
86
|
+
"@opentui/core-win32-x64": "0.5.14",
|
|
87
|
+
"@opentui/core-win32-arm64": "0.5.14",
|
|
88
|
+
"@opentui/core-linux-x64-musl": "0.5.14",
|
|
89
|
+
"@opentui/core-linux-arm64-musl": "0.5.14"
|
|
90
90
|
}
|
|
91
91
|
}
|
package/renderer.d.ts
CHANGED
|
@@ -284,6 +284,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
284
284
|
private hasLoggedStdinParserError;
|
|
285
285
|
private animationRequest;
|
|
286
286
|
private resizeTimeoutId;
|
|
287
|
+
private pendingResizeSawDifferentSize;
|
|
287
288
|
private capabilityTimeoutId;
|
|
288
289
|
private kittyTransportTimer;
|
|
289
290
|
private kittyTransportMode;
|
|
@@ -536,6 +537,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
536
537
|
private stopMemorySnapshotTimer;
|
|
537
538
|
setMemorySnapshotInterval(interval: number): void;
|
|
538
539
|
private handleResize;
|
|
540
|
+
private applyPendingResize;
|
|
539
541
|
private queryPixelResolution;
|
|
540
542
|
private processResize;
|
|
541
543
|
/**
|
package/testing.bun.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SystemClock2,
|
|
4
4
|
TreeSitterClient2
|
|
5
|
-
} from "./chunk-bun-
|
|
5
|
+
} from "./chunk-bun-sjw2d9bq.js";
|
|
6
6
|
import {
|
|
7
7
|
ANSI,
|
|
8
8
|
CliRenderer2
|
|
9
|
-
} from "./chunk-bun-
|
|
9
|
+
} from "./chunk-bun-j2z63cdy.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
|
SystemClock2,
|
|
3
3
|
TreeSitterClient2
|
|
4
|
-
} from "./chunk-node-
|
|
4
|
+
} from "./chunk-node-80p7e6t6.js";
|
|
5
5
|
import {
|
|
6
6
|
ANSI,
|
|
7
7
|
CliRenderer2
|
|
8
|
-
} from "./chunk-node-
|
|
8
|
+
} from "./chunk-node-wp7ct2m6.js";
|
|
9
9
|
|
|
10
10
|
// src/testing/mock-keys.ts
|
|
11
11
|
import { Buffer as Buffer2 } from "node:buffer";
|
package/text-buffer-view.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare class TextBufferView {
|
|
|
7
7
|
private viewPtr;
|
|
8
8
|
private textBuffer;
|
|
9
9
|
private _destroyed;
|
|
10
|
+
private selectionClear;
|
|
10
11
|
constructor(lib: RenderLib, ptr: TextBufferViewHandle, textBuffer: TextBuffer);
|
|
11
12
|
static create(textBuffer: TextBuffer): TextBufferView;
|
|
12
13
|
private guard;
|
package/yoga.bun.js
CHANGED