opencode
opencode copied to clipboard
feat(tui): add auto_scroll configuration setting
Summary
Adds a new tui.auto_scroll configuration option to control the sticky scrolling behavior in the TUI session view. This addresses the request to prevent auto-scrolling when new messages arrive.
Changes
- Added
auto_scrollboolean toTUIconfig schema inpackages/opencode/src/config/config.ts - Updated
packages/opencode/src/cli/cmd/tui/routes/session/index.tsxto respect theauto_scrollsetting (defaults totrue).
Fixes #7648