restty 0.1.28 → 0.1.29

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/dist/internal.js CHANGED
@@ -100,7 +100,7 @@ import {
100
100
  updateGridState,
101
101
  updateImePosition,
102
102
  updateSelection
103
- } from "./chunk-8za9xm0g.js";
103
+ } from "./chunk-p9e8t0ks.js";
104
104
  export {
105
105
  updateSelection,
106
106
  updateImePosition,
package/dist/restty.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  isBuiltinThemeName,
9
9
  listBuiltinThemeNames,
10
10
  parseGhosttyTheme
11
- } from "./chunk-8za9xm0g.js";
11
+ } from "./chunk-p9e8t0ks.js";
12
12
  export {
13
13
  parseGhosttyTheme,
14
14
  listBuiltinThemeNames,
@@ -68,6 +68,7 @@ type CreateRuntimeAppApiOptions = {
68
68
  runBeforeRenderOutputHook: (text: string, source: string) => string | null;
69
69
  getSelectionText: () => string;
70
70
  initialPreferredRenderer: PreferredRenderer;
71
+ maxScrollback?: number;
71
72
  CURSOR_BLINK_MS: number;
72
73
  RESIZE_ACTIVE_MS: number;
73
74
  TARGET_RENDER_FPS: number;
@@ -256,6 +256,8 @@ export type ResttyAppOptions = {
256
256
  beforeRenderOutput?: (payload: ResttyAppInputPayload) => string | null | void;
257
257
  /** Optional render-stage shader chain. */
258
258
  shaderStages?: ResttyShaderStage[];
259
+ /** Maximum scrollback buffer size in bytes passed to the WASM terminal (default 2000). */
260
+ maxScrollback?: number;
259
261
  };
260
262
  /**
261
263
  * Public API for a terminal app instance.