restty 0.1.29 → 0.1.31
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/chunk-2dwtwwy6.js +66000 -0
- package/dist/internal.js +1 -1
- package/dist/restty.js +1 -1
- package/dist/runtime/create-runtime/runtime-app-api.d.ts +1 -0
- package/dist/runtime/max-scrollback.d.ts +9 -0
- package/dist/runtime/types.d.ts +9 -1
- package/dist/wasm/embedded.d.ts +1 -1
- package/dist/xterm.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-p9e8t0ks.js +0 -117190
package/dist/internal.js
CHANGED
package/dist/restty.js
CHANGED
|
@@ -68,6 +68,7 @@ type CreateRuntimeAppApiOptions = {
|
|
|
68
68
|
runBeforeRenderOutputHook: (text: string, source: string) => string | null;
|
|
69
69
|
getSelectionText: () => string;
|
|
70
70
|
initialPreferredRenderer: PreferredRenderer;
|
|
71
|
+
maxScrollbackBytes?: number;
|
|
71
72
|
maxScrollback?: number;
|
|
72
73
|
CURSOR_BLINK_MS: number;
|
|
73
74
|
RESIZE_ACTIVE_MS: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const DEFAULT_MAX_SCROLLBACK_BYTES = 10000000;
|
|
2
|
+
export declare const MAX_MAX_SCROLLBACK_BYTES = 256000000;
|
|
3
|
+
type MaxScrollbackOptions = {
|
|
4
|
+
maxScrollbackBytes?: number;
|
|
5
|
+
maxScrollback?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare function normalizeMaxScrollbackBytes(value: number | undefined): number;
|
|
8
|
+
export declare function resolveMaxScrollbackBytes(options: MaxScrollbackOptions): number;
|
|
9
|
+
export {};
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -256,7 +256,15 @@ export type ResttyAppOptions = {
|
|
|
256
256
|
beforeRenderOutput?: (payload: ResttyAppInputPayload) => string | null | void;
|
|
257
257
|
/** Optional render-stage shader chain. */
|
|
258
258
|
shaderStages?: ResttyShaderStage[];
|
|
259
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Maximum scrollback buffer size in bytes passed to the WASM terminal.
|
|
261
|
+
* Default is 10_000_000 (10MB).
|
|
262
|
+
*/
|
|
263
|
+
maxScrollbackBytes?: number;
|
|
264
|
+
/**
|
|
265
|
+
* Deprecated alias for maxScrollbackBytes.
|
|
266
|
+
* If both are set, maxScrollbackBytes takes precedence.
|
|
267
|
+
*/
|
|
260
268
|
maxScrollback?: number;
|
|
261
269
|
};
|
|
262
270
|
/**
|