summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src
diff options
context:
space:
mode:
authorEyal Cherevatsky <[email protected]>2026-01-12 05:40:23 +0200
committerGitHub <[email protected]>2026-01-11 21:40:23 -0600
commit65724b693b246ae799147d164610de9f9d5ffd1a (patch)
treeb3f2ef5b3a2cbeb9b046e84220174a8da3c67962 /packages/web/src
parent8b9a85b7e7278813cd6be733d7cd67ef3ea24972 (diff)
downloadopencode-65724b693b246ae799147d164610de9f9d5ffd1a.tar.gz
opencode-65724b693b246ae799147d164610de9f9d5ffd1a.zip
docs: fix scroll_speed default value (#7867)
Diffstat (limited to 'packages/web/src')
-rw-r--r--packages/web/src/content/docs/config.mdx2
-rw-r--r--packages/web/src/content/docs/tui.mdx2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/config.mdx b/packages/web/src/content/docs/config.mdx
index a5931b6fc..30edbbd21 100644
--- a/packages/web/src/content/docs/config.mdx
+++ b/packages/web/src/content/docs/config.mdx
@@ -168,7 +168,7 @@ You can configure TUI-specific settings through the `tui` option.
Available options:
- `scroll_acceleration.enabled` - Enable macOS-style scroll acceleration. **Takes precedence over `scroll_speed`.**
-- `scroll_speed` - Custom scroll speed multiplier (default: `1`, minimum: `1`). Ignored if `scroll_acceleration.enabled` is `true`.
+- `scroll_speed` - Custom scroll speed multiplier (default: `3`, minimum: `1`). Ignored if `scroll_acceleration.enabled` is `true`.
- `diff_style` - Control diff rendering. `"auto"` adapts to terminal width, `"stacked"` always shows single column.
[Learn more about using the TUI here](/docs/tui).
diff --git a/packages/web/src/content/docs/tui.mdx b/packages/web/src/content/docs/tui.mdx
index a92da6a02..a7f59f215 100644
--- a/packages/web/src/content/docs/tui.mdx
+++ b/packages/web/src/content/docs/tui.mdx
@@ -358,7 +358,7 @@ You can customize TUI behavior through your OpenCode config file.
### Options
- `scroll_acceleration` - Enable macOS-style scroll acceleration for smooth, natural scrolling. When enabled, scroll speed increases with rapid scrolling gestures and stays precise for slower movements. **This setting takes precedence over `scroll_speed` and overrides it when enabled.**
-- `scroll_speed` - Controls how fast the TUI scrolls when using scroll commands (minimum: `1`). Defaults to `1` on Unix and `3` on Windows. **Note: This is ignored if `scroll_acceleration.enabled` is set to `true`.**
+- `scroll_speed` - Controls how fast the TUI scrolls when using scroll commands (minimum: `1`). Defaults to `3`. **Note: This is ignored if `scroll_acceleration.enabled` is set to `true`.**
---