Copy pasting a large text makes it impossible to scroll it to the end #780

Closed
opened 2026-02-16 17:28:15 -05:00 by yindo · 2 comments
Owner

Originally created by @andreagrandi on GitHub (Jul 17, 2025).

Originally assigned to: @adamdotdevin on GitHub.

If you copy-paste a large text into OpenCode input and the text is longer than the one that can be rendered in the terminal window, you can't scroll down to check the inserted input (you have to trust that it's been pasted entirely).

You can still press Enter and the input is processed but you can't scroll down and check or add new stuff.

Tested with: 0.3.17 on MacOS, using Ghostty

Originally created by @andreagrandi on GitHub (Jul 17, 2025). Originally assigned to: @adamdotdevin on GitHub. If you copy-paste a large text into OpenCode input and the text is longer than the one that can be rendered in the terminal window, you can't scroll down to check the inserted input (you have to trust that it's been pasted entirely). You can still press Enter and the input is processed but you can't scroll down and check or add new stuff. Tested with: 0.3.17 on MacOS, using Ghostty
yindo closed this issue 2026-02-16 17:28:15 -05:00
Author
Owner

@tomoglavas commented on GitHub (Aug 15, 2025):

I'll add a scroll related issue as it might make sense to consider both while fixing, hope that's ok.

The input field for new message covers existing messages, so if I go over 2-3 lines, it hides a part of the output. The more I type, the less I can see. This is probably due to absolute positioning from bottom of viewport, so it might make sense to create a "shadow message" element in the output that replicates the height of our input message, allowing the output to be scrolled all the way to the bottom instead of remaining pinned down.

Ty

@tomoglavas commented on GitHub (Aug 15, 2025): I'll add a scroll related issue as it might make sense to consider both while fixing, hope that's ok. The input field for new message covers existing messages, so if I go over 2-3 lines, it hides a part of the output. The more I type, the less I can see. This is probably due to absolute positioning from bottom of viewport, so it might make sense to create a "shadow message" element in the output that replicates the height of our input message, allowing the output to be scrolled all the way to the bottom instead of remaining pinned down. Ty
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#780