@opentui/core 0.2.16 → 0.3.1
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/NativeSpanFeed.d.ts +6 -0
- package/ansi.d.ts +4 -0
- package/{index-qe67qr6s.js → index-2wycxnwx.js} +3 -3
- package/{index-t1vzaxv4.js → index-gnh42qx3.js} +2 -2
- package/{index-qfwqv8y3.js → index-jx0p1c2f.js} +644 -135
- package/{index-qfwqv8y3.js.map → index-jx0p1c2f.js.map} +9 -8
- package/{index-hzcw4q21.js → index-zv319bjp.js} +5 -255
- package/{index-hzcw4q21.js.map → index-zv319bjp.js.map} +3 -4
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +7 -7
- package/renderer.d.ts +55 -4
- package/runtime-plugin-support-configure.js +4 -4
- package/runtime-plugin-support.js +4 -4
- package/runtime-plugin.js +3 -3
- package/testing/test-renderer.d.ts +2 -3
- package/testing/test-streams.d.ts +12 -0
- package/testing.js +40 -48
- package/testing.js.map +6 -5
- package/types.d.ts +3 -1
- package/zig-structs.d.ts +7 -1
- package/zig.d.ts +15 -8
- /package/{index-qe67qr6s.js.map → index-2wycxnwx.js.map} +0 -0
- /package/{index-t1vzaxv4.js.map → index-gnh42qx3.js.map} +0 -0
package/NativeSpanFeed.d.ts
CHANGED
|
@@ -26,14 +26,20 @@ export declare class NativeSpanFeed {
|
|
|
26
26
|
private pendingAsyncHandlers;
|
|
27
27
|
private inCallback;
|
|
28
28
|
private closeQueued;
|
|
29
|
+
private idleResolvers;
|
|
29
30
|
private constructor();
|
|
30
31
|
private ensureDrainBuffer;
|
|
31
32
|
onData(handler: DataHandler): () => void;
|
|
32
33
|
onError(handler: (code: number) => void): () => void;
|
|
34
|
+
private hasPinnedChunks;
|
|
35
|
+
isBackpressured(): boolean;
|
|
33
36
|
close(): void;
|
|
34
37
|
private processPendingClose;
|
|
35
38
|
private performClose;
|
|
36
39
|
private finalizeDestroy;
|
|
40
|
+
private isIdle;
|
|
41
|
+
private resolveIdleIfNeeded;
|
|
42
|
+
idle(): Promise<void>;
|
|
37
43
|
private handleEvent;
|
|
38
44
|
private decrementRefcount;
|
|
39
45
|
private drainOnce;
|
package/ansi.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export declare const ANSI: {
|
|
|
2
2
|
switchToAlternateScreen: string;
|
|
3
3
|
switchToMainScreen: string;
|
|
4
4
|
reset: string;
|
|
5
|
+
resetScrollRegion: string;
|
|
6
|
+
home: string;
|
|
7
|
+
clearScreen: string;
|
|
8
|
+
clearSavedLines: string;
|
|
5
9
|
scrollDown: (lines: number) => string;
|
|
6
10
|
scrollUp: (lines: number) => string;
|
|
7
11
|
moveCursor: (row: number, col: number) => string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
exports_src
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-zv319bjp.js";
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jx0p1c2f.js";
|
|
8
8
|
|
|
9
9
|
// src/runtime-plugin.ts
|
|
10
10
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -418,4 +418,4 @@ function createRuntimePlugin(input = {}) {
|
|
|
418
418
|
export { isCoreRuntimeModuleSpecifier, runtimeModuleIdForSpecifier, createRuntimePlugin };
|
|
419
419
|
|
|
420
420
|
//# debugId=4F4ECA92927B118964756E2164756E21
|
|
421
|
-
//# sourceMappingURL=index-
|
|
421
|
+
//# sourceMappingURL=index-2wycxnwx.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createRuntimePlugin
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2wycxnwx.js";
|
|
5
5
|
|
|
6
6
|
// src/runtime-plugin-support-configure.ts
|
|
7
7
|
var {plugin: registerBunPlugin } = globalThis.Bun;
|
|
@@ -41,4 +41,4 @@ function ensureRuntimePluginSupport(options = {}) {
|
|
|
41
41
|
export { ensureRuntimePluginSupport };
|
|
42
42
|
|
|
43
43
|
//# debugId=09C0597CB92E654F64756E2164756E21
|
|
44
|
-
//# sourceMappingURL=index-
|
|
44
|
+
//# sourceMappingURL=index-gnh42qx3.js.map
|