Scrolling Stuck to the cmd prompts #1517

Closed
opened 2026-02-16 17:31:21 -05:00 by yindo · 7 comments
Owner

Originally created by @jettptacek on GitHub (Aug 27, 2025).

Originally assigned to: @adamdotdevin on GitHub.

When I scroll with the mouse, I am only scrolling through the history of the commands I typed. This might be related to the emulated terminal I'm using but I have tried both WezTerm and Alacritty and I get the same results

Originally created by @jettptacek on GitHub (Aug 27, 2025). Originally assigned to: @adamdotdevin on GitHub. When I scroll with the mouse, I am only scrolling through the history of the commands I typed. This might be related to the emulated terminal I'm using but I have tried both WezTerm and Alacritty and I get the same results
yindo closed this issue 2026-02-16 17:31:21 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 27, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2257: Similar terminal emulator compatibility issues (OpenCode displays/behaves incorrectly when launched inside different terminal emulators)
  • #2256: TUI visual problems with mouse interactions (gibberish appears after mouse operations)
  • #2192: OpenCode alignment and display issues in IDE terminals

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 27, 2025): This issue might be a duplicate of existing issues. Please check: - #2257: Similar terminal emulator compatibility issues (OpenCode displays/behaves incorrectly when launched inside different terminal emulators) - #2256: TUI visual problems with mouse interactions (gibberish appears after mouse operations) - #2192: OpenCode alignment and display issues in IDE terminals Feel free to ignore if none of these address your specific case.
Author
Owner

@hongkongkiwi commented on GitHub (Sep 20, 2025):

This is not a duplicate. I have this issue and cannot scroll the output, only the commands.

@hongkongkiwi commented on GitHub (Sep 20, 2025): This is not a duplicate. I have this issue and cannot scroll the output, only the commands.
Author
Owner

@rekram1-node commented on GitHub (Sep 20, 2025):

tui is about to get a rewrite completed and I hope all these problems go away when that happens

@rekram1-node commented on GitHub (Sep 20, 2025): tui is about to get a rewrite completed and I hope all these problems go away when that happens
Author
Owner

@beezdevops commented on GitHub (Oct 18, 2025):

Temporary workaround for those frustrated by this (I'm having the same issue in v0.15.7 in wezterm)

Using keybinds from documentation works to scroll the messages, but mouse scrollwheel seems mapped to scrolling the commands:

Keybinds:

"messages_page_up": "pgup", --> pretty big jump, i lose track so I remapped half_page_up
"messages_page_down": "pgdown", --> pretty big jump, i lose track so I remapped half_page_down
"messages_half_page_up": "ctrl+alt+u", --> I remapped to alt+pgup (ctrl+pgup seems to not work)
"messages_half_page_down": "ctrl+alt+d", --> I remapped to alt+pgdown (ctrl+pgup seems to not work)
"messages_first": "ctrl+g",
"messages_last": "ctrl+alt+g",

@beezdevops commented on GitHub (Oct 18, 2025): Temporary workaround for those frustrated by this (I'm having the same issue in v0.15.7 in wezterm) Using keybinds from documentation works to scroll the messages, but mouse scrollwheel seems mapped to scrolling the commands: ### Keybinds: **"messages_page_up": "pgup",** --> pretty big jump, i lose track so I remapped half_page_up **"messages_page_down": "pgdown",** --> pretty big jump, i lose track so I remapped half_page_down **"messages_half_page_up": "ctrl+alt+u",** --> I remapped to alt+pgup (ctrl+pgup seems to not work) **"messages_half_page_down": "ctrl+alt+d",** --> I remapped to alt+pgdown (ctrl+pgup seems to not work) **"messages_first":** "ctrl+g", **"messages_last":** "ctrl+alt+g",
Author
Owner

@rekram1-node commented on GitHub (Oct 18, 2025):

thank you @beezdevops

and thanks for ur patience, rewrite should ship next week

@rekram1-node commented on GitHub (Oct 18, 2025): thank you @beezdevops and thanks for ur patience, rewrite should ship next week
Author
Owner

@jakespvk commented on GitHub (Oct 30, 2025):

I am still experiencing this issue on latest via WinGet (v0.15.23, on Windows 11 if that wasn't clear).

For any others experiencing and potentially don't know of this: I've been able to workaround by running /export but obviously that's not ideal.

Thanks!

@jakespvk commented on GitHub (Oct 30, 2025): I am still experiencing this issue on latest via WinGet (v0.15.23, on Windows 11 if that wasn't clear). For any others experiencing and potentially don't know of this: I've been able to workaround by running `/export` but obviously that's not ideal. Thanks!
Author
Owner

@jettptacek commented on GitHub (Nov 11, 2025):

I am able to scroll nicely on v1.0.55. I tested with WezTerm and Alacritty and I haven't had an issues so far. I'm going to mark this as closed. Thanks everyone

@jettptacek commented on GitHub (Nov 11, 2025): I am able to scroll nicely on v1.0.55. I tested with WezTerm and Alacritty and I haven't had an issues so far. I'm going to mark this as closed. Thanks everyone
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1517