@opentui/core 0.3.0 → 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.
@@ -182,7 +182,7 @@ import {
182
182
  white,
183
183
  wrapWithDelegates,
184
184
  yellow
185
- } from "./index-081xws23.js";
185
+ } from "./index-jx0p1c2f.js";
186
186
 
187
187
  // src/index.ts
188
188
  var exports_src2 = {};
@@ -11536,4 +11536,4 @@ class TimeToFirstDrawRenderable extends Renderable {
11536
11536
  export { DistortionEffect, VignetteEffect, CloudsEffect, FlamesEffect, CRTRollingBarEffect, RainbowTextEffect, applyScanlines, applyInvert, applyNoise, applyChromaticAberration, applyAsciiArt, applyBrightness, applyGain, applySaturation, BloomEffect, SEPIA_MATRIX, PROTANOPIA_SIM_MATRIX, DEUTERANOPIA_SIM_MATRIX, TRITANOPIA_SIM_MATRIX, ACHROMATOPSIA_MATRIX, PROTANOPIA_COMP_MATRIX, DEUTERANOPIA_COMP_MATRIX, TRITANOPIA_COMP_MATRIX, TECHNICOLOR_MATRIX, SOLARIZATION_MATRIX, SYNTHWAVE_MATRIX, GREENSCALE_MATRIX, GRAYSCALE_MATRIX, INVERT_MATRIX, Timeline, engine, createTimeline, SlotRegistry, createSlotRegistry, createCoreSlotRegistry, registerCorePlugin, resolveCoreSlot, SlotRenderable, Audio, setupAudio, FrameBufferRenderable, ASCIIFontRenderable, Generic, Box, Text, ASCIIFont, Input, Select, TabSelect, FrameBuffer, Code, ScrollBox, vstyles, VRenderable, LineNumberRenderable, DiffRenderable, defaultTextareaKeyBindings, TextareaRenderable, InputRenderableEvents, InputRenderable, TextTableRenderable, MarkdownRenderable, SliderRenderable, ScrollBarRenderable, ArrowRenderable, ScrollBoxRenderable, SelectRenderableEvents, SelectRenderable, TabSelectRenderableEvents, TabSelectRenderable, TimeToFirstDrawRenderable, exports_src2 as exports_src };
11537
11537
 
11538
11538
  //# debugId=FF9419E6A578C71164756E2164756E21
11539
- //# sourceMappingURL=index-sq86yyfz.js.map
11539
+ //# sourceMappingURL=index-zv319bjp.js.map
package/index.js CHANGED
@@ -71,7 +71,7 @@ import {
71
71
  resolveCoreSlot,
72
72
  setupAudio,
73
73
  vstyles
74
- } from "./index-sq86yyfz.js";
74
+ } from "./index-zv319bjp.js";
75
75
  import {
76
76
  ASCIIFontSelectionHelper,
77
77
  ATTRIBUTE_BASE_BITS,
@@ -246,7 +246,7 @@ import {
246
246
  white,
247
247
  wrapWithDelegates,
248
248
  yellow
249
- } from "./index-081xws23.js";
249
+ } from "./index-jx0p1c2f.js";
250
250
  export {
251
251
  yellow,
252
252
  wrapWithDelegates,
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.3.0",
7
+ "version": "0.3.1",
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": {
@@ -69,11 +69,11 @@
69
69
  "web-tree-sitter": "0.25.10"
70
70
  },
71
71
  "optionalDependencies": {
72
- "@opentui/core-darwin-x64": "0.3.0",
73
- "@opentui/core-darwin-arm64": "0.3.0",
74
- "@opentui/core-linux-x64": "0.3.0",
75
- "@opentui/core-linux-arm64": "0.3.0",
76
- "@opentui/core-win32-x64": "0.3.0",
77
- "@opentui/core-win32-arm64": "0.3.0"
72
+ "@opentui/core-darwin-x64": "0.3.1",
73
+ "@opentui/core-darwin-arm64": "0.3.1",
74
+ "@opentui/core-linux-x64": "0.3.1",
75
+ "@opentui/core-linux-arm64": "0.3.1",
76
+ "@opentui/core-win32-x64": "0.3.1",
77
+ "@opentui/core-win32-arm64": "0.3.1"
78
78
  }
79
79
  }
package/renderer.d.ts CHANGED
@@ -112,6 +112,9 @@ export interface ScrollbackSurface {
112
112
  commitRows(startRow: number, endRowExclusive: number, options?: ScrollbackSurfaceCommitOptions): void;
113
113
  destroy(): void;
114
114
  }
115
+ export interface SplitFooterReplayResetOptions {
116
+ clearSavedLines?: boolean;
117
+ }
115
118
  /**
116
119
  * Kitty Keyboard Protocol configuration options
117
120
  * See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#progressive-enhancement
@@ -423,6 +426,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
423
426
  set useKittyKeyboard(use: boolean);
424
427
  createScrollbackSurface(options?: ScrollbackSurfaceOptions): ScrollbackSurface;
425
428
  writeToScrollback(write: ScrollbackWriter): void;
429
+ resetSplitFooterForReplay(options?: SplitFooterReplayResetOptions): void;
426
430
  private getSnapshotWidth;
427
431
  private getSnapshotHeight;
428
432
  private getSnapshotRowWidths;
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  ensureRuntimePluginSupport
4
- } from "./index-dhbwkghw.js";
4
+ } from "./index-gnh42qx3.js";
5
5
  import {
6
6
  createRuntimePlugin,
7
7
  runtimeModuleIdForSpecifier
8
- } from "./index-qwem5zxy.js";
9
- import"./index-sq86yyfz.js";
10
- import"./index-081xws23.js";
8
+ } from "./index-2wycxnwx.js";
9
+ import"./index-zv319bjp.js";
10
+ import"./index-jx0p1c2f.js";
11
11
  export {
12
12
  runtimeModuleIdForSpecifier,
13
13
  ensureRuntimePluginSupport,
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  ensureRuntimePluginSupport
4
- } from "./index-dhbwkghw.js";
4
+ } from "./index-gnh42qx3.js";
5
5
  import {
6
6
  createRuntimePlugin,
7
7
  runtimeModuleIdForSpecifier
8
- } from "./index-qwem5zxy.js";
9
- import"./index-sq86yyfz.js";
10
- import"./index-081xws23.js";
8
+ } from "./index-2wycxnwx.js";
9
+ import"./index-zv319bjp.js";
10
+ import"./index-jx0p1c2f.js";
11
11
  // src/runtime-plugin-support.ts
12
12
  ensureRuntimePluginSupport();
13
13
  export {
package/runtime-plugin.js CHANGED
@@ -3,9 +3,9 @@ import {
3
3
  createRuntimePlugin,
4
4
  isCoreRuntimeModuleSpecifier,
5
5
  runtimeModuleIdForSpecifier
6
- } from "./index-qwem5zxy.js";
7
- import"./index-sq86yyfz.js";
8
- import"./index-081xws23.js";
6
+ } from "./index-2wycxnwx.js";
7
+ import"./index-zv319bjp.js";
8
+ import"./index-jx0p1c2f.js";
9
9
  export {
10
10
  runtimeModuleIdForSpecifier,
11
11
  isCoreRuntimeModuleSpecifier,
package/testing.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  ANSI,
4
4
  CliRenderer,
5
5
  TreeSitterClient
6
- } from "./index-081xws23.js";
6
+ } from "./index-jx0p1c2f.js";
7
7
 
8
8
  // src/testing/mock-keys.ts
9
9
  import { Buffer as Buffer2 } from "buffer";