mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 16:54:22 +01:00
Revert "Updated scroll_speed to allow any positive number" (#4437)
This commit is contained in:
@@ -437,7 +437,7 @@ export namespace Config {
|
|||||||
})
|
})
|
||||||
|
|
||||||
export const TUI = z.object({
|
export const TUI = z.object({
|
||||||
scroll_speed: z.number().positive().optional().default(1).describe("TUI scroll speed"),
|
scroll_speed: z.number().min(0.001).optional().default(1).describe("TUI scroll speed"),
|
||||||
scroll_acceleration: z
|
scroll_acceleration: z
|
||||||
.object({
|
.object({
|
||||||
enabled: z.boolean().describe("Enable scroll acceleration"),
|
enabled: z.boolean().describe("Enable scroll acceleration"),
|
||||||
|
|||||||
Reference in New Issue
Block a user