[PR #7651] feat(tui): add auto_scroll configuration setting #12467

Open
opened 2026-02-16 18:17:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7651

State: open
Merged: No


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_scroll boolean to TUI config schema in packages/opencode/src/config/config.ts
  • Updated packages/opencode/src/cli/cmd/tui/routes/session/index.tsx to respect the auto_scroll setting (defaults to true).

Fixes #7648

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7651 **State:** open **Merged:** No --- ## 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_scroll` boolean to `TUI` config schema in `packages/opencode/src/config/config.ts` - Updated `packages/opencode/src/cli/cmd/tui/routes/session/index.tsx` to respect the `auto_scroll` setting (defaults to `true`). Fixes #7648
yindo added the pull-request label 2026-02-16 18:17:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12467