@opentui/core 0.8.1 → 0.8.2
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/NativeSession.d.ts +1 -1
- package/{chunk-bun-ved2tpxm.js → chunk-bun-vd3rj9kv.js} +24 -13
- package/{chunk-bun-ved2tpxm.js.map → chunk-bun-vd3rj9kv.js.map} +4 -4
- package/{chunk-node-tpjmjvn7.js → chunk-node-s9be55eh.js} +24 -13
- package/{chunk-node-tpjmjvn7.js.map → chunk-node-s9be55eh.js.map} +4 -4
- package/index.bun.js +17 -27
- package/index.bun.js.map +5 -5
- package/index.node.js +17 -27
- package/index.node.js.map +5 -5
- package/package.json +9 -9
- package/renderables/Markdown.d.ts +0 -5
- package/renderables/markdown-parser.d.ts +1 -0
- package/renderer.d.ts +1 -0
- package/testing.bun.js +1 -1
- package/testing.js +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.8.
|
|
7
|
+
"version": "0.8.2",
|
|
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": {
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"web-tree-sitter": "0.25.10"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"@opentui/core-darwin-x64": "0.8.
|
|
82
|
-
"@opentui/core-darwin-arm64": "0.8.
|
|
83
|
-
"@opentui/core-linux-x64": "0.8.
|
|
84
|
-
"@opentui/core-linux-arm64": "0.8.
|
|
85
|
-
"@opentui/core-win32-x64": "0.8.
|
|
86
|
-
"@opentui/core-win32-arm64": "0.8.
|
|
87
|
-
"@opentui/core-linux-x64-musl": "0.8.
|
|
88
|
-
"@opentui/core-linux-arm64-musl": "0.8.
|
|
81
|
+
"@opentui/core-darwin-x64": "0.8.2",
|
|
82
|
+
"@opentui/core-darwin-arm64": "0.8.2",
|
|
83
|
+
"@opentui/core-linux-x64": "0.8.2",
|
|
84
|
+
"@opentui/core-linux-arm64": "0.8.2",
|
|
85
|
+
"@opentui/core-win32-x64": "0.8.2",
|
|
86
|
+
"@opentui/core-win32-arm64": "0.8.2",
|
|
87
|
+
"@opentui/core-linux-x64-musl": "0.8.2",
|
|
88
|
+
"@opentui/core-linux-arm64-musl": "0.8.2"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -250,11 +250,6 @@ export declare class MarkdownRenderable extends Renderable {
|
|
|
250
250
|
private updateTopLevelBlocks;
|
|
251
251
|
private updateBlocks;
|
|
252
252
|
private clearBlockStates;
|
|
253
|
-
/**
|
|
254
|
-
* Re-render existing blocks without rebuilding the parse state or block structure.
|
|
255
|
-
* Used when only style/conceal changes - much faster than full rebuild.
|
|
256
|
-
*/
|
|
257
|
-
private rerenderBlocks;
|
|
258
253
|
clearCache(): void;
|
|
259
254
|
refreshStyles(): void;
|
|
260
255
|
private markStyleDirty;
|
|
@@ -7,5 +7,6 @@ export interface ParseState {
|
|
|
7
7
|
/**
|
|
8
8
|
* Incrementally parse markdown, reusing unchanged tokens from previous parse.
|
|
9
9
|
* Compares token.raw at each offset - matching tokens keep same object reference.
|
|
10
|
+
* trailingUnstable 0 lexes it all unless nothing changed since a lex at 0: an edit can grow any block or add a link def.
|
|
10
11
|
*/
|
|
11
12
|
export declare function parseMarkdownIncremental(newContent: string, prevState: ParseState | null, trailingUnstable?: number): ParseState;
|
package/renderer.d.ts
CHANGED
|
@@ -361,6 +361,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
361
361
|
private externalOutputQueue;
|
|
362
362
|
private pendingExternalOutputMode;
|
|
363
363
|
private readonly stdoutDecoder;
|
|
364
|
+
private stdoutEscape;
|
|
364
365
|
private realStdoutWrite;
|
|
365
366
|
private _useConsole;
|
|
366
367
|
private sigwinchHandler;
|
package/testing.bun.js
CHANGED