From 3e9189696535fcadfb1cdccf0f753c233e3a077c Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sat, 24 Aug 2024 17:48:10 +0200 Subject: [PATCH 1/2] feat: document scrollback in config.d.ts so it shows in default config --- typings/config.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/typings/config.d.ts b/typings/config.d.ts index 7a6053e93fe3..864944befcf5 100644 --- a/typings/config.d.ts +++ b/typings/config.d.ts @@ -125,6 +125,11 @@ type profileConfigOptions = { * set to true to enable screen reading apps (like NVDA) to read the contents of the terminal */ screenReaderMode: boolean; + /** + * number of lines to keep in memory for scrollback + * + * default: 1000 + */ scrollback: number; /** terminal selection color */ selectionColor: string; From 8a923487a1172e8b2545507e303a73a536a97b99 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sat, 24 Aug 2024 18:03:35 +0200 Subject: [PATCH 2/2] Regenerate schema --- app/config/schema.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/config/schema.json b/app/config/schema.json index 6bcf850036eb..b6334159a2b8 100644 --- a/app/config/schema.json +++ b/app/config/schema.json @@ -236,6 +236,7 @@ "type": "boolean" }, "scrollback": { + "description": "number of lines to keep in memory for scrollback\n\ndefault: 1000", "type": "number" }, "selectionColor": { @@ -563,6 +564,7 @@ "type": "boolean" }, "scrollback": { + "description": "number of lines to keep in memory for scrollback\n\ndefault: 1000", "type": "number" }, "selectionColor": {