summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authoropencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>2025-11-17 21:18:33 -0600
committerGitHub <[email protected]>2025-11-17 21:18:33 -0600
commita10fd8ca5c9941c1804313d46f9f9eb4c2f9bd38 (patch)
treed1a1dc05f3961e5ad577c11cdde3070729f9b40d /packages
parentff7513238be9689a7a7cec19710db000c5c66dfc (diff)
downloadopencode-a10fd8ca5c9941c1804313d46f9f9eb4c2f9bd38.tar.gz
opencode-a10fd8ca5c9941c1804313d46f9f9eb4c2f9bd38.zip
Updated scroll_speed to allow any positive number (#4436)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <[email protected]> Co-authored-by: GitHub Action <[email protected]>
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/config/config.ts2
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/sdk/js/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index d9c453038..5f0177d21 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -437,7 +437,7 @@ export namespace Config {
})
export const TUI = z.object({
- scroll_speed: z.number().min(0.001).optional().default(1).describe("TUI scroll speed"),
+ scroll_speed: z.number().positive().optional().default(1).describe("TUI scroll speed"),
scroll_acceleration: z
.object({
enabled: z.boolean().describe("Enable scroll acceleration"),
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index cbc5b39ee..081a8ecdb 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
-} \ No newline at end of file
+}
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index c3b85c1e4..2a1b73559 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -26,4 +26,4 @@
"publishConfig": {
"directory": "dist"
}
-} \ No newline at end of file
+}