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/chunk-p9e8t0ks.js +117190 -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/types.d.ts +2 -0
- package/dist/wasm/embedded.d.ts +1 -1
- package/dist/xterm.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-8za9xm0g.js +0 -61644
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
|
+
maxScrollback?: number;
|
|
71
72
|
CURSOR_BLINK_MS: number;
|
|
72
73
|
RESIZE_ACTIVE_MS: number;
|
|
73
74
|
TARGET_RENDER_FPS: number;
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -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.
|