@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/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.1",
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.1",
82
- "@opentui/core-darwin-arm64": "0.8.1",
83
- "@opentui/core-linux-x64": "0.8.1",
84
- "@opentui/core-linux-arm64": "0.8.1",
85
- "@opentui/core-win32-x64": "0.8.1",
86
- "@opentui/core-win32-arm64": "0.8.1",
87
- "@opentui/core-linux-x64-musl": "0.8.1",
88
- "@opentui/core-linux-arm64-musl": "0.8.1"
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
@@ -4,7 +4,7 @@ import {
4
4
  TreeSitterClient2,
5
5
  ANSI,
6
6
  CliRenderer2
7
- } from "./chunk-bun-ved2tpxm.js";
7
+ } from "./chunk-bun-vd3rj9kv.js";
8
8
  import {
9
9
  nativeConstants
10
10
  } from "./chunk-bun-wdetc10w.js";
package/testing.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  TreeSitterClient2,
4
4
  ANSI,
5
5
  CliRenderer2
6
- } from "./chunk-node-tpjmjvn7.js";
6
+ } from "./chunk-node-s9be55eh.js";
7
7
  import {
8
8
  nativeConstants
9
9
  } from "./chunk-node-m8mjyx7h.js";