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 <rekram1-node@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
opencode-agent[bot] 2025-11-17 21:18:33 -06:00 committed by GitHub
parent ff7513238b
commit a10fd8ca5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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"),

View file

@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
}
}

View file

@ -26,4 +26,4 @@
"publishConfig": {
"directory": "dist"
}
}
}