Skip to content

Commit 7935c34

Browse files
Updated scroll_speed to allow any positive number
Co-authored-by: rekram1-node <[email protected]>
1 parent ff75132 commit 7935c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export namespace Config {
437437
})
438438

439439
export const TUI = z.object({
440-
scroll_speed: z.number().min(0.001).optional().default(1).describe("TUI scroll speed"),
440+
scroll_speed: z.number().positive().optional().default(1).describe("TUI scroll speed"),
441441
scroll_acceleration: z
442442
.object({
443443
enabled: z.boolean().describe("Enable scroll acceleration"),

0 commit comments

Comments
 (0)