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
[FEATURE]:When pasting content into the TUI, OpenCode collapses it to [pasted ~ X lines] instead of showing the actual text. This makes it impossible to verify what was pasted before sending. **Additional issue on Windows Desktop App:** #21315
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When pasting content into the TUI, OpenCode collapses it to [pasted ~ X lines] instead of showing the actual text. This makes it impossible to verify what was pasted before sending.
Users of dictation software (like SuperWhisper on Windows) rely on pasting transcribed text. Currently, they cannot see what was dictated and must blindly send it or use /editor as a workaround every time.
Add a setting in tui.json to control this behavior:
"collapse_pastes": false
}
When false, pasted content would display inline like regular typed text, allowing users to review and edit before sending.
Alternative
A keyboard shortcut to expand/collapse pasted content on demand would also work.
Plugins
No response
OpenCode version
1.2.27
Steps to reproduce
Open OpenCode TUI in any project
Copy any multi-line text to clipboard (e.g., a paragraph, code snippet, or dictation output)
Paste into the message input (Ctrl+V or right-click paste)
Observe: Input shows [pasted ~ X lines] instead of the actual text
Press Enter to send - text is processed but user cannot verify/edit it first Expected: Option to see pasted text inline Actual: Text is collapsed with no way to expand it
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Powershell
Additional issue on Windows Desktop App:
The /editor command doesn't work in the Desktop app even after setting EDITOR environment variable via setx. Desktop apps on Windows don't inherit environment variables from the terminal.
Suggested fix: Add an editor setting in opencode.json config file so users can configure the editor without relying on environment variables.
Thank you so much! @justfortheloveof 🙏
I've added the config to my opencode.json and it works perfectly:
"experimental": {
"disable_paste_summary": true
}
This solves my issue with SuperWhisper dictation - I can now see and verify what I pasted before sending. Really appreciate the help!
Activity
github-actions commentedon Apr 7, 2026
This issue might be a duplicate of existing issues. Please check:
[Pasted ~1 lines]) #8501: Requests the same feature — an option to expand/show pasted text inline instead of collapsed[Pasted ~X lines]If your request is already covered by one of the above, please add a thumbs-up reaction or comment there rather than opening a new issue.
justfortheloveof commentedon Apr 7, 2026
FYI - this can already be achieved with this config:
(see the config schema for more info https://opencode.ai/config.json)
Perhaps this could be productized and documented in a more obvious way
chevalierornella-am commentedon Apr 8, 2026
Thank you so much! @justfortheloveof 🙏
I've added the config to my opencode.json and it works perfectly: