@opentui/core 0.5.2 → 0.5.4

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.5.2",
7
+ "version": "0.5.4",
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.2",
79
- "@opentui/core-darwin-arm64": "0.5.2",
80
- "@opentui/core-linux-x64": "0.5.2",
81
- "@opentui/core-linux-arm64": "0.5.2",
82
- "@opentui/core-win32-x64": "0.5.2",
83
- "@opentui/core-win32-arm64": "0.5.2",
84
- "@opentui/core-linux-x64-musl": "0.5.2",
85
- "@opentui/core-linux-arm64-musl": "0.5.2"
78
+ "@opentui/core-darwin-x64": "0.5.4",
79
+ "@opentui/core-darwin-arm64": "0.5.4",
80
+ "@opentui/core-linux-x64": "0.5.4",
81
+ "@opentui/core-linux-arm64": "0.5.4",
82
+ "@opentui/core-win32-x64": "0.5.4",
83
+ "@opentui/core-win32-arm64": "0.5.4",
84
+ "@opentui/core-linux-x64-musl": "0.5.4",
85
+ "@opentui/core-linux-arm64-musl": "0.5.4"
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-t68f2fmr.js";
5
+ } from "./chunk-bun-gvv8cwwz.js";
6
6
  import {
7
7
  SystemClock,
8
8
  TreeSitterClient
9
- } from "./chunk-bun-26r5c5w5.js";
9
+ } from "./chunk-bun-1n307cze.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-kq7as74d.js";
4
+ } from "./chunk-node-tq0x9mbj.js";
5
5
  import {
6
6
  SystemClock,
7
7
  TreeSitterClient
8
- } from "./chunk-node-aj3n20gq.js";
8
+ } from "./chunk-node-crchpns1.js";
9
9
 
10
10
  // src/testing/mock-keys.ts
11
11
  import { Buffer as Buffer2 } from "node:buffer";
package/utils.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { Renderable } from "./Renderable.js";
2
- export declare function createTextAttributes({ bold, italic, underline, dim, blink, inverse, hidden, strikethrough, }?: {
2
+ export declare function createTextAttributes({ bold, italic, underline, dim, blink, inverse, reverse, hidden, strikethrough, }?: {
3
3
  bold?: boolean;
4
4
  italic?: boolean;
5
5
  underline?: boolean;
6
6
  dim?: boolean;
7
7
  blink?: boolean;
8
8
  inverse?: boolean;
9
+ reverse?: boolean;
9
10
  hidden?: boolean;
10
11
  strikethrough?: boolean;
11
12
  }): number;
package/yoga.bun.js CHANGED
@@ -93,7 +93,7 @@ import {
93
93
  WRAP_WRAP_REVERSE,
94
94
  Wrap,
95
95
  yoga_default
96
- } from "./chunk-bun-26r5c5w5.js";
96
+ } from "./chunk-bun-1n307cze.js";
97
97
  export {
98
98
  yoga_default as default,
99
99
  Wrap,
package/yoga.js CHANGED
@@ -92,7 +92,7 @@ import {
92
92
  WRAP_WRAP_REVERSE,
93
93
  Wrap,
94
94
  yoga_default
95
- } from "./chunk-node-aj3n20gq.js";
95
+ } from "./chunk-node-crchpns1.js";
96
96
  export {
97
97
  yoga_default as default,
98
98
  Wrap,
package/zig.d.ts CHANGED
@@ -225,7 +225,7 @@ export interface AudioEngineLib {
225
225
  export interface RenderLib extends AudioEngineLib {
226
226
  createRenderer: (width: number, height: number, options?: NativeRendererCreateOptions) => RendererHandle | null;
227
227
  setTerminalEnvVar: (renderer: RendererHandle, key: string, value: string) => boolean;
228
- destroyRenderer: (renderer: RendererHandle) => void;
228
+ destroyRenderer: (renderer: RendererHandle, flushInput?: boolean) => void;
229
229
  setUseThread: (renderer: RendererHandle, useThread: boolean) => void;
230
230
  setClearOnShutdown: (renderer: RendererHandle, clear: boolean) => void;
231
231
  setBackgroundColor: (renderer: RendererHandle, color: RGBA) => void;