Skip to content

Commit a10fd8c

Browse files
opencode-agent[bot]rekram1-nodeactions-user
authored
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>
1 parent ff75132 commit a10fd8c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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"),

packages/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
"typescript": "catalog:",
2525
"@typescript/native-preview": "catalog:"
2626
}
27-
}
27+
}

packages/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
"publishConfig": {
2727
"directory": "dist"
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)