@opentui/core 0.0.0-20250919-6683564e → 0.0.0-20250922-6d7f4921

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.js",
5
5
  "types": "index.d.ts",
6
6
  "type": "module",
7
- "version": "0.0.0-20250919-6683564e",
7
+ "version": "0.0.0-20250922-6d7f4921",
8
8
  "description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -40,11 +40,11 @@
40
40
  "bun-webgpu": "0.1.3",
41
41
  "planck": "^1.4.2",
42
42
  "three": "0.177.0",
43
- "@opentui/core-darwin-x64": "0.0.0-20250919-6683564e",
44
- "@opentui/core-darwin-arm64": "0.0.0-20250919-6683564e",
45
- "@opentui/core-linux-x64": "0.0.0-20250919-6683564e",
46
- "@opentui/core-linux-arm64": "0.0.0-20250919-6683564e",
47
- "@opentui/core-win32-x64": "0.0.0-20250919-6683564e",
48
- "@opentui/core-win32-arm64": "0.0.0-20250919-6683564e"
43
+ "@opentui/core-darwin-x64": "0.0.0-20250922-6d7f4921",
44
+ "@opentui/core-darwin-arm64": "0.0.0-20250922-6d7f4921",
45
+ "@opentui/core-linux-x64": "0.0.0-20250922-6d7f4921",
46
+ "@opentui/core-linux-arm64": "0.0.0-20250922-6d7f4921",
47
+ "@opentui/core-win32-x64": "0.0.0-20250922-6d7f4921",
48
+ "@opentui/core-win32-arm64": "0.0.0-20250922-6d7f4921"
49
49
  }
50
50
  }
@@ -4,7 +4,7 @@ import { type fonts, type ASCIIFontName } from "../lib/ascii.font";
4
4
  import { RGBA } from "../lib/RGBA";
5
5
  import { FrameBufferRenderable } from "./FrameBuffer";
6
6
  import type { RenderContext } from "../types";
7
- export interface ASCIIFontOptions extends RenderableOptions<ASCIIFontRenderable> {
7
+ export interface ASCIIFontOptions extends Omit<RenderableOptions<ASCIIFontRenderable>, "width" | "height"> {
8
8
  text?: string;
9
9
  font?: ASCIIFontName;
10
10
  fg?: RGBA | RGBA[];
@@ -20,6 +20,7 @@ export interface TextOptions extends RenderableOptions<TextRenderable> {
20
20
  export declare class TextRenderable extends Renderable {
21
21
  selectable: boolean;
22
22
  private _text;
23
+ private _hasManualStyledText;
23
24
  private _defaultFg;
24
25
  private _defaultBg;
25
26
  private _defaultAttributes;
@@ -68,6 +69,8 @@ export declare class TextRenderable extends Renderable {
68
69
  protected onResize(width: number, height: number): void;
69
70
  private updateLocalSelection;
70
71
  private updateTextInfo;
72
+ private updateLineInfo;
73
+ private updateWrapWidth;
71
74
  private setupMeasureFunc;
72
75
  insertChunk(chunk: TextChunk, index?: number): void;
73
76
  removeChunk(chunk: TextChunk): void;
package/testing.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CliRenderer,
4
4
  resolveRenderLib
5
- } from "./index-0yx9rnxg.js";
5
+ } from "./index-ra8j4k81.js";
6
6
 
7
7
  // src/testing/mock-keys.ts
8
8
  var KeyCodes = {