forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
Users cannot scroll up in the terminal to see previous output. Mouse scroll and keyboard scroll do not work. Only the current viewport content is visible.
Root Cause
Likely caused by ANSI cursor manipulation (cursor save/restore, cursor positioning) in the oclite rendering code. These escape sequences can break the terminal's normal scroll buffer behavior.
Possible culprits:
cursor.save/cursor.restoresequencescursor.homeor absolute cursor positioning- Alternate screen buffer activation (unlikely but worth checking)
Expected
Normal terminal scroll behavior — users should be able to scroll up to see previous commands and responses.
Files
packages/opencode/src/cli/lite/index.ts— ANSI cursor sequencespackages/opencode/src/cli/lite/select.ts— cursor save/restore in selection UIpackages/opencode/src/cli/lite/bottombar.ts— cursor manipulation
Metadata
Metadata
Assignees
Labels
No labels