You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Large pasted content renders poorly in chat history—overflows and blends with questions, hindering review #3007
When I paste a lot of content into the input box, it appears as shown in the image—nice and tidy.
But after pressing Enter and continuing the conversation, this large amount of content renders poorly—it looks visually messy, the text even overflows the chat box, and the copied text blends in with the question, making it hard for me to review the previous dialogue.
I have another problem with pasting - when I paste something in opencode with "ctrl + shift + v" it's being pasted letter by letter, as if somebody is typing it very fast. If I paste something big it will write for a long time and I can't cancel the pasting or exit terminal with ctrl + c. But when I try pasting to terminal outside of opencode with "ctrl + shift + v", it pastes instantaneously, unlike in opencode.
@ikodbapc I think that's a performance issue in the crappy tui code, next major version of tui should have a lot of problems like this fixed sorry for delay :/
Have the same issue with Xfce terminal that use VTE (similar to Shift+ENTER).
If you think that SHIFT+ENTER and this is the problem with VTE, feel free to report a bug. You may get (as I did) explanation and help if this is not a bug in VTE, but in OpenCode. But if this is VTE issue it may fix more terminals.
Activity
github-actions commentedon Oct 7, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 7, 2025
hm this is specific to your terminal emulator, which one are you using?
LePao1 commentedon Oct 7, 2025
I use OpenCode in the terminal within VS Code.
rekram1-node commentedon Oct 7, 2025
Gotcha, I think we may have this fixed in our opentui version
Generally we recommend:
But i hope we can get the tui rendering inside vscode decently too
LePao1 commentedon Oct 7, 2025
I mainly use it in WSL on Windows; VS Code lets me develop inside the Linux environment effortlessly. The screenshot above was taken there.
By the way, the situation is just as awful in PowerShell.
rekram1-node commentedon Oct 7, 2025
Yuck, yeah sorry about that
@itsrainingmani what do you recommend for windows?
(mani knows state of windows stuff better than me so I am tagging)
seerdi commentedon Oct 7, 2025
I also experience the same issue as @LePao1 when using opencode in terminal in VSCode and PowerShell
agladysh commentedon Oct 8, 2025
Same issue in the stock macOS Terminal.app Version 2.14 (455.1)
ikodbapc commentedon Oct 14, 2025
I have another problem with pasting - when I paste something in opencode with "ctrl + shift + v" it's being pasted letter by letter, as if somebody is typing it very fast. If I paste something big it will write for a long time and I can't cancel the pasting or exit terminal with ctrl + c. But when I try pasting to terminal outside of opencode with "ctrl + shift + v", it pastes instantaneously, unlike in opencode.
rekram1-node commentedon Oct 14, 2025
@ikodbapc I think that's a performance issue in the crappy tui code, next major version of tui should have a lot of problems like this fixed sorry for delay :/
jcubic commentedon Oct 16, 2025
Have the same issue with Xfce terminal that use VTE (similar to Shift+ENTER).
If you think that SHIFT+ENTER and this is the problem with VTE, feel free to report a bug. You may get (as I did) explanation and help if this is not a bug in VTE, but in OpenCode. But if this is VTE issue it may fix more terminals.